pub enum UiAuthorityType {
MintTokens,
FreezeAccount,
AccountOwner,
CloseAccount,
TransferFeeConfig,
WithheldWithdraw,
CloseMint,
InterestRate,
PermanentDelegate,
ConfidentialTransferMint,
}
Variants§
MintTokens
FreezeAccount
AccountOwner
CloseAccount
TransferFeeConfig
WithheldWithdraw
CloseMint
InterestRate
PermanentDelegate
ConfidentialTransferMint
Trait Implementations§
source§impl Debug for UiAuthorityType
impl Debug for UiAuthorityType
source§impl<'de> Deserialize<'de> for UiAuthorityType
impl<'de> Deserialize<'de> for UiAuthorityType
source§fn 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
source§impl From<AuthorityType> for UiAuthorityType
impl From<AuthorityType> for UiAuthorityType
source§fn from(authority_type: AuthorityType) -> Self
fn from(authority_type: AuthorityType) -> Self
Converts to this type from the input type.
source§impl PartialEq<UiAuthorityType> for UiAuthorityType
impl PartialEq<UiAuthorityType> for UiAuthorityType
source§fn eq(&self, other: &UiAuthorityType) -> bool
fn eq(&self, other: &UiAuthorityType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl 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 + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + ?Sized,
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§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>
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
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.