pub enum SnsCanisterRole {
Root,
Governance,
Ledger,
Swap,
Index,
Archive,
Dapp,
Extension,
}Expand description
SnsCanisterRole
Native role assigned to a canister by the SNS Root interface.
Variants§
Root
SNS Root canister.
Governance
SNS Governance canister.
Ledger
SNS ledger canister.
Swap
SNS decentralization swap canister.
Index
SNS ledger index canister.
Archive
SNS ledger archive canister.
Dapp
Dapp canister registered with SNS Root.
Extension
SNS extension canister registered with SNS Root.
Implementations§
Trait Implementations§
Source§impl Clone for SnsCanisterRole
impl Clone for SnsCanisterRole
Source§fn clone(&self) -> SnsCanisterRole
fn clone(&self) -> SnsCanisterRole
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 SnsCanisterRole
Source§impl Debug for SnsCanisterRole
impl Debug for SnsCanisterRole
impl Eq for SnsCanisterRole
Source§impl Ord for SnsCanisterRole
impl Ord for SnsCanisterRole
Source§fn cmp(&self, other: &SnsCanisterRole) -> Ordering
fn cmp(&self, other: &SnsCanisterRole) -> 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 SnsCanisterRole
impl PartialEq for SnsCanisterRole
Source§impl PartialOrd for SnsCanisterRole
impl PartialOrd for SnsCanisterRole
Source§impl Serialize for SnsCanisterRole
impl Serialize for SnsCanisterRole
impl StructuralPartialEq for SnsCanisterRole
Auto Trait Implementations§
impl Freeze for SnsCanisterRole
impl RefUnwindSafe for SnsCanisterRole
impl Send for SnsCanisterRole
impl Sync for SnsCanisterRole
impl Unpin for SnsCanisterRole
impl UnsafeUnpin for SnsCanisterRole
impl UnwindSafe for SnsCanisterRole
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