Enum spl_token_cli::clap_app::AccountMetaRole
source · pub enum AccountMetaRole {
Readonly,
Writable,
ReadonlySigner,
WritableSigner,
}Variants§
Trait Implementations§
source§impl Clone for AccountMetaRole
impl Clone for AccountMetaRole
source§fn clone(&self) -> AccountMetaRole
fn clone(&self) -> AccountMetaRole
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 AccountMetaRole
impl Debug for AccountMetaRole
source§impl Display for AccountMetaRole
impl Display for AccountMetaRole
source§impl<'_derivative_strum> From<&'_derivative_strum AccountMetaRole> for &'static str
impl<'_derivative_strum> From<&'_derivative_strum AccountMetaRole> for &'static str
source§fn from(x: &'_derivative_strum AccountMetaRole) -> &'static str
fn from(x: &'_derivative_strum AccountMetaRole) -> &'static str
Converts to this type from the input type.
source§impl From<AccountMetaRole> for &'static str
impl From<AccountMetaRole> for &'static str
source§fn from(x: AccountMetaRole) -> &'static str
fn from(x: AccountMetaRole) -> &'static str
Converts to this type from the input type.
source§impl FromStr for AccountMetaRole
impl FromStr for AccountMetaRole
source§impl PartialEq for AccountMetaRole
impl PartialEq for AccountMetaRole
source§fn eq(&self, other: &AccountMetaRole) -> bool
fn eq(&self, other: &AccountMetaRole) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<&str> for AccountMetaRole
impl TryFrom<&str> for AccountMetaRole
impl Copy for AccountMetaRole
impl StructuralPartialEq for AccountMetaRole
Auto Trait Implementations§
impl RefUnwindSafe for AccountMetaRole
impl Send for AccountMetaRole
impl Sync for AccountMetaRole
impl Unpin for AccountMetaRole
impl UnwindSafe for AccountMetaRole
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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