pub enum UiAuthorityType {
MintTokens,
FreezeAccount,
AccountOwner,
CloseAccount,
TransferFeeConfig,
WithheldWithdraw,
CloseMint,
InterestRate,
}
Variants
MintTokens
FreezeAccount
AccountOwner
CloseAccount
TransferFeeConfig
WithheldWithdraw
CloseMint
InterestRate
Trait Implementations
sourceimpl Debug for UiAuthorityType
impl Debug for UiAuthorityType
sourceimpl<'de> Deserialize<'de> for UiAuthorityType
impl<'de> Deserialize<'de> for UiAuthorityType
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<AuthorityType> for UiAuthorityType
impl From<AuthorityType> for UiAuthorityType
sourcefn from(authority_type: AuthorityType) -> Self
fn from(authority_type: AuthorityType) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<UiAuthorityType> for UiAuthorityType
impl PartialEq<UiAuthorityType> for UiAuthorityType
sourcefn eq(&self, other: &UiAuthorityType) -> bool
fn eq(&self, other: &UiAuthorityType) -> bool
sourceimpl Serialize for UiAuthorityType
impl Serialize for UiAuthorityType
impl Eq for UiAuthorityType
impl StructuralEq for UiAuthorityType
impl StructuralPartialEq for UiAuthorityType
Auto Trait Implementations
impl RefUnwindSafe for UiAuthorityType
impl Send for UiAuthorityType
impl Sync for UiAuthorityType
impl Unpin for UiAuthorityType
impl UnwindSafe for UiAuthorityType
Blanket Implementations
impl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi(
&self,
digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
default fn visit_for_abi(
&self,
_digester: &mut AbiDigester
) -> Result<AbiDigester, DigestError>
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.