pub enum CertificateSlice<'a> {
StakeDelegation(PayloadSlice<'a, StakeDelegation>),
OwnerStakeDelegation(PayloadSlice<'a, OwnerStakeDelegation>),
PoolRegistration(PayloadSlice<'a, PoolRegistration>),
PoolRetirement(PayloadSlice<'a, PoolRetirement>),
PoolUpdate(PayloadSlice<'a, PoolUpdate>),
VotePlan(PayloadSlice<'a, VotePlan>),
VoteCast(PayloadSlice<'a, VoteCast>),
VoteTally(PayloadSlice<'a, VoteTally>),
UpdateProposal(PayloadSlice<'a, UpdateProposal>),
UpdateVote(PayloadSlice<'a, UpdateVote>),
MintToken(PayloadSlice<'a, MintToken>),
EvmMapping(PayloadSlice<'a, EvmMapping>),
}
Variants§
StakeDelegation(PayloadSlice<'a, StakeDelegation>)
OwnerStakeDelegation(PayloadSlice<'a, OwnerStakeDelegation>)
PoolRegistration(PayloadSlice<'a, PoolRegistration>)
PoolRetirement(PayloadSlice<'a, PoolRetirement>)
PoolUpdate(PayloadSlice<'a, PoolUpdate>)
VotePlan(PayloadSlice<'a, VotePlan>)
VoteCast(PayloadSlice<'a, VoteCast>)
VoteTally(PayloadSlice<'a, VoteTally>)
UpdateProposal(PayloadSlice<'a, UpdateProposal>)
UpdateVote(PayloadSlice<'a, UpdateVote>)
MintToken(PayloadSlice<'a, MintToken>)
EvmMapping(PayloadSlice<'a, EvmMapping>)
Implementations§
source§impl<'a> CertificateSlice<'a>
impl<'a> CertificateSlice<'a>
pub fn into_owned(self) -> Certificate
Trait Implementations§
source§impl<'a> From<PayloadSlice<'a, EvmMapping>> for CertificateSlice<'a>
impl<'a> From<PayloadSlice<'a, EvmMapping>> for CertificateSlice<'a>
source§fn from(payload: PayloadSlice<'a, EvmMapping>) -> CertificateSlice<'a>
fn from(payload: PayloadSlice<'a, EvmMapping>) -> CertificateSlice<'a>
Converts to this type from the input type.
source§impl<'a> From<PayloadSlice<'a, MintToken>> for CertificateSlice<'a>
impl<'a> From<PayloadSlice<'a, MintToken>> for CertificateSlice<'a>
source§fn from(payload: PayloadSlice<'a, MintToken>) -> CertificateSlice<'a>
fn from(payload: PayloadSlice<'a, MintToken>) -> CertificateSlice<'a>
Converts to this type from the input type.
source§impl<'a> From<PayloadSlice<'a, OwnerStakeDelegation>> for CertificateSlice<'a>
impl<'a> From<PayloadSlice<'a, OwnerStakeDelegation>> for CertificateSlice<'a>
source§fn from(payload: PayloadSlice<'a, OwnerStakeDelegation>) -> CertificateSlice<'a>
fn from(payload: PayloadSlice<'a, OwnerStakeDelegation>) -> CertificateSlice<'a>
Converts to this type from the input type.
source§impl<'a> From<PayloadSlice<'a, PoolRegistration>> for CertificateSlice<'a>
impl<'a> From<PayloadSlice<'a, PoolRegistration>> for CertificateSlice<'a>
source§fn from(payload: PayloadSlice<'a, PoolRegistration>) -> CertificateSlice<'a>
fn from(payload: PayloadSlice<'a, PoolRegistration>) -> CertificateSlice<'a>
Converts to this type from the input type.
source§impl<'a> From<PayloadSlice<'a, PoolRetirement>> for CertificateSlice<'a>
impl<'a> From<PayloadSlice<'a, PoolRetirement>> for CertificateSlice<'a>
source§fn from(payload: PayloadSlice<'a, PoolRetirement>) -> CertificateSlice<'a>
fn from(payload: PayloadSlice<'a, PoolRetirement>) -> CertificateSlice<'a>
Converts to this type from the input type.
source§impl<'a> From<PayloadSlice<'a, PoolUpdate>> for CertificateSlice<'a>
impl<'a> From<PayloadSlice<'a, PoolUpdate>> for CertificateSlice<'a>
source§fn from(payload: PayloadSlice<'a, PoolUpdate>) -> CertificateSlice<'a>
fn from(payload: PayloadSlice<'a, PoolUpdate>) -> CertificateSlice<'a>
Converts to this type from the input type.
source§impl<'a> From<PayloadSlice<'a, StakeDelegation>> for CertificateSlice<'a>
impl<'a> From<PayloadSlice<'a, StakeDelegation>> for CertificateSlice<'a>
source§fn from(payload: PayloadSlice<'a, StakeDelegation>) -> CertificateSlice<'a>
fn from(payload: PayloadSlice<'a, StakeDelegation>) -> CertificateSlice<'a>
Converts to this type from the input type.
source§impl<'a> From<PayloadSlice<'a, UpdateProposal>> for CertificateSlice<'a>
impl<'a> From<PayloadSlice<'a, UpdateProposal>> for CertificateSlice<'a>
source§fn from(payload: PayloadSlice<'a, UpdateProposal>) -> CertificateSlice<'a>
fn from(payload: PayloadSlice<'a, UpdateProposal>) -> CertificateSlice<'a>
Converts to this type from the input type.
source§impl<'a> From<PayloadSlice<'a, UpdateVote>> for CertificateSlice<'a>
impl<'a> From<PayloadSlice<'a, UpdateVote>> for CertificateSlice<'a>
source§fn from(payload: PayloadSlice<'a, UpdateVote>) -> CertificateSlice<'a>
fn from(payload: PayloadSlice<'a, UpdateVote>) -> CertificateSlice<'a>
Converts to this type from the input type.
source§impl<'a> From<PayloadSlice<'a, VoteCast>> for CertificateSlice<'a>
impl<'a> From<PayloadSlice<'a, VoteCast>> for CertificateSlice<'a>
source§fn from(payload: PayloadSlice<'a, VoteCast>) -> CertificateSlice<'a>
fn from(payload: PayloadSlice<'a, VoteCast>) -> CertificateSlice<'a>
Converts to this type from the input type.
source§impl<'a> From<PayloadSlice<'a, VotePlan>> for CertificateSlice<'a>
impl<'a> From<PayloadSlice<'a, VotePlan>> for CertificateSlice<'a>
source§fn from(payload: PayloadSlice<'a, VotePlan>) -> CertificateSlice<'a>
fn from(payload: PayloadSlice<'a, VotePlan>) -> CertificateSlice<'a>
Converts to this type from the input type.
source§impl<'a> From<PayloadSlice<'a, VoteTally>> for CertificateSlice<'a>
impl<'a> From<PayloadSlice<'a, VoteTally>> for CertificateSlice<'a>
source§fn from(payload: PayloadSlice<'a, VoteTally>) -> CertificateSlice<'a>
fn from(payload: PayloadSlice<'a, VoteTally>) -> CertificateSlice<'a>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for CertificateSlice<'a>
impl<'a> Send for CertificateSlice<'a>
impl<'a> Sync for CertificateSlice<'a>
impl<'a> Unpin for CertificateSlice<'a>
impl<'a> UnwindSafe for CertificateSlice<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more