#[repr(C)]
pub enum TokenDelegateRole {
Sale,
Transfer,
Utility,
Staking,
Standard,
LockedTransfer,
Migration,
}
Variants§
Trait Implementations§
source§impl BorshDeserialize for TokenDelegateRole
impl BorshDeserialize for TokenDelegateRole
source§impl BorshSerialize for TokenDelegateRole
impl BorshSerialize for TokenDelegateRole
source§impl Clone for TokenDelegateRole
impl Clone for TokenDelegateRole
source§fn clone(&self) -> TokenDelegateRole
fn clone(&self) -> TokenDelegateRole
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 TokenDelegateRole
impl Debug for TokenDelegateRole
source§impl From<TokenDelegateRole> for TransferScenario
impl From<TokenDelegateRole> for TransferScenario
source§fn from(delegate: TokenDelegateRole) -> Self
fn from(delegate: TokenDelegateRole) -> Self
Converts to this type from the input type.
source§impl From<TransferScenario> for TokenDelegateRole
impl From<TransferScenario> for TokenDelegateRole
source§fn from(delegate: TransferScenario) -> Self
fn from(delegate: TransferScenario) -> Self
Converts to this type from the input type.
source§impl PartialEq<TokenDelegateRole> for TokenDelegateRole
impl PartialEq<TokenDelegateRole> for TokenDelegateRole
source§fn eq(&self, other: &TokenDelegateRole) -> bool
fn eq(&self, other: &TokenDelegateRole) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.