pub enum CertificateKind {
StakeRegistration,
StakeDeregistration,
StakeDelegation,
PoolRegistration,
PoolRetirement,
GenesisKeyDelegation,
MoveInstantaneousRewardsCert,
}
Variants
StakeRegistration
StakeDeregistration
StakeDelegation
PoolRegistration
PoolRetirement
GenesisKeyDelegation
MoveInstantaneousRewardsCert
Trait Implementations
sourceimpl Clone for CertificateKind
impl Clone for CertificateKind
sourcefn clone(&self) -> CertificateKind
fn clone(&self) -> CertificateKind
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for CertificateKind
impl Debug for CertificateKind
sourceimpl Ord for CertificateKind
impl Ord for CertificateKind
sourcefn cmp(&self, other: &CertificateKind) -> Ordering
fn cmp(&self, other: &CertificateKind) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<CertificateKind> for CertificateKind
impl PartialEq<CertificateKind> for CertificateKind
sourcefn eq(&self, other: &CertificateKind) -> bool
fn eq(&self, other: &CertificateKind) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl PartialOrd<CertificateKind> for CertificateKind
impl PartialOrd<CertificateKind> for CertificateKind
sourcefn partial_cmp(&self, other: &CertificateKind) -> Option<Ordering>
fn partial_cmp(&self, other: &CertificateKind) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Eq for CertificateKind
impl StructuralEq for CertificateKind
impl StructuralPartialEq for CertificateKind
Auto Trait Implementations
impl RefUnwindSafe for CertificateKind
impl Send for CertificateKind
impl Sync for CertificateKind
impl Unpin for CertificateKind
impl UnwindSafe for CertificateKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more