pub enum TreasuryGovernanceActionType {
NoOp,
TransferToRewards,
}
Variants§
Trait Implementations§
source§impl Clone for TreasuryGovernanceActionType
impl Clone for TreasuryGovernanceActionType
source§fn clone(&self) -> TreasuryGovernanceActionType
fn clone(&self) -> TreasuryGovernanceActionType
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 Debug for TreasuryGovernanceActionType
impl Debug for TreasuryGovernanceActionType
source§impl Hash for TreasuryGovernanceActionType
impl Hash for TreasuryGovernanceActionType
source§impl Ord for TreasuryGovernanceActionType
impl Ord for TreasuryGovernanceActionType
source§fn cmp(&self, other: &TreasuryGovernanceActionType) -> Ordering
fn cmp(&self, other: &TreasuryGovernanceActionType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<TreasuryGovernanceActionType> for TreasuryGovernanceActionType
impl PartialEq<TreasuryGovernanceActionType> for TreasuryGovernanceActionType
source§fn eq(&self, other: &TreasuryGovernanceActionType) -> bool
fn eq(&self, other: &TreasuryGovernanceActionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<TreasuryGovernanceActionType> for TreasuryGovernanceActionType
impl PartialOrd<TreasuryGovernanceActionType> for TreasuryGovernanceActionType
source§fn partial_cmp(&self, other: &TreasuryGovernanceActionType) -> Option<Ordering>
fn partial_cmp(&self, other: &TreasuryGovernanceActionType) -> Option<Ordering>
1.0.0 · source§fn 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 moreimpl Copy for TreasuryGovernanceActionType
impl Eq for TreasuryGovernanceActionType
impl StructuralEq for TreasuryGovernanceActionType
impl StructuralPartialEq for TreasuryGovernanceActionType
Auto Trait Implementations§
impl RefUnwindSafe for TreasuryGovernanceActionType
impl Send for TreasuryGovernanceActionType
impl Sync for TreasuryGovernanceActionType
impl Unpin for TreasuryGovernanceActionType
impl UnwindSafe for TreasuryGovernanceActionType
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