pub enum CertificatePayload {
StakeDelegation(PayloadData<StakeDelegation>),
OwnerStakeDelegation(PayloadData<OwnerStakeDelegation>),
PoolRegistration(PayloadData<PoolRegistration>),
PoolRetirement(PayloadData<PoolRetirement>),
PoolUpdate(PayloadData<PoolUpdate>),
VotePlan(PayloadData<VotePlan>),
VoteCast(PayloadData<VoteCast>),
VoteTally(PayloadData<VoteTally>),
UpdateProposal(PayloadData<UpdateProposal>),
UpdateVote(PayloadData<UpdateVote>),
MintToken(PayloadData<MintToken>),
EvmMapping(PayloadData<EvmMapping>),
}
Variants§
StakeDelegation(PayloadData<StakeDelegation>)
OwnerStakeDelegation(PayloadData<OwnerStakeDelegation>)
PoolRegistration(PayloadData<PoolRegistration>)
PoolRetirement(PayloadData<PoolRetirement>)
PoolUpdate(PayloadData<PoolUpdate>)
VotePlan(PayloadData<VotePlan>)
VoteCast(PayloadData<VoteCast>)
VoteTally(PayloadData<VoteTally>)
UpdateProposal(PayloadData<UpdateProposal>)
UpdateVote(PayloadData<UpdateVote>)
MintToken(PayloadData<MintToken>)
EvmMapping(PayloadData<EvmMapping>)
Implementations§
source§impl CertificatePayload
impl CertificatePayload
pub fn as_slice(&self) -> CertificateSlice<'_>
Trait Implementations§
source§impl Clone for CertificatePayload
impl Clone for CertificatePayload
source§fn clone(&self) -> CertificatePayload
fn clone(&self) -> CertificatePayload
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> From<&'a Certificate> for CertificatePayload
impl<'a> From<&'a Certificate> for CertificatePayload
source§fn from(certificate: &'a Certificate) -> Self
fn from(certificate: &'a Certificate) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CertificatePayload
impl Send for CertificatePayload
impl Sync for CertificatePayload
impl Unpin for CertificatePayload
impl UnwindSafe for CertificatePayload
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