Enum spl_token::instruction::AuthorityType [−][src]
#[repr(u8)]
pub enum AuthorityType {
MintTokens,
FreezeAccount,
AccountOwner,
CloseAccount,
}Expand description
Specifies the authority type for SetAuthority instructions
Variants
Authority to mint new tokens
Authority to freeze any account associated with the Mint
Owner of a given token account
Authority to close a token account
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for AuthorityTypeimpl Send for AuthorityTypeimpl Sync for AuthorityTypeimpl Unpin for AuthorityTypeimpl UnwindSafe for AuthorityTypeBlanket Implementations
pub default fn example() -> TMutably borrows from an owned value. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V