pub enum SnsTreasuryKind {
Unspecified,
Icp,
SnsToken,
Unknown,
}Expand description
SnsTreasuryKind
Native SNS treasury asset classification with unknown-value preservation.
Variants§
Unspecified
Native code zero.
Icp
Native ICP treasury code.
SnsToken
Native SNS governance-token treasury code.
Unknown
Future or otherwise unknown native code.
Implementations§
Trait Implementations§
Source§impl Clone for SnsTreasuryKind
impl Clone for SnsTreasuryKind
Source§fn clone(&self) -> SnsTreasuryKind
fn clone(&self) -> SnsTreasuryKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SnsTreasuryKind
Source§impl Debug for SnsTreasuryKind
impl Debug for SnsTreasuryKind
impl Eq for SnsTreasuryKind
Source§impl Ord for SnsTreasuryKind
impl Ord for SnsTreasuryKind
Source§fn cmp(&self, other: &SnsTreasuryKind) -> Ordering
fn cmp(&self, other: &SnsTreasuryKind) -> Ordering
1.21.0 (const: unstable) · 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 for SnsTreasuryKind
impl PartialEq for SnsTreasuryKind
Source§impl PartialOrd for SnsTreasuryKind
impl PartialOrd for SnsTreasuryKind
Source§impl Serialize for SnsTreasuryKind
impl Serialize for SnsTreasuryKind
impl StructuralPartialEq for SnsTreasuryKind
Auto Trait Implementations§
impl Freeze for SnsTreasuryKind
impl RefUnwindSafe for SnsTreasuryKind
impl Send for SnsTreasuryKind
impl Sync for SnsTreasuryKind
impl Unpin for SnsTreasuryKind
impl UnsafeUnpin for SnsTreasuryKind
impl UnwindSafe for SnsTreasuryKind
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