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