Enum anchor_syn::ConstraintToken
source · [−]pub enum ConstraintToken {
Show 25 variants
Init(Context<ConstraintInit>),
Zeroed(Context<ConstraintZeroed>),
Mut(Context<ConstraintMut>),
Signer(Context<ConstraintSigner>),
HasOne(Context<ConstraintHasOne>),
Literal(Context<ConstraintLiteral>),
Raw(Context<ConstraintRaw>),
Owner(Context<ConstraintOwner>),
RentExempt(Context<ConstraintRentExempt>),
Seeds(Context<ConstraintSeeds>),
Executable(Context<ConstraintExecutable>),
State(Context<ConstraintState>),
Close(Context<ConstraintClose>),
Payer(Context<ConstraintPayer>),
Space(Context<ConstraintSpace>),
Address(Context<ConstraintAddress>),
TokenMint(Context<ConstraintTokenMint>),
TokenAuthority(Context<ConstraintTokenAuthority>),
AssociatedTokenMint(Context<ConstraintTokenMint>),
AssociatedTokenAuthority(Context<ConstraintTokenAuthority>),
MintAuthority(Context<ConstraintMintAuthority>),
MintFreezeAuthority(Context<ConstraintMintFreezeAuthority>),
MintDecimals(Context<ConstraintMintDecimals>),
Bump(Context<ConstraintTokenBump>),
ProgramSeed(Context<ConstraintProgramSeed>),
}
Variants
Init(Context<ConstraintInit>)
Zeroed(Context<ConstraintZeroed>)
Mut(Context<ConstraintMut>)
Signer(Context<ConstraintSigner>)
HasOne(Context<ConstraintHasOne>)
Literal(Context<ConstraintLiteral>)
Raw(Context<ConstraintRaw>)
Owner(Context<ConstraintOwner>)
RentExempt(Context<ConstraintRentExempt>)
Seeds(Context<ConstraintSeeds>)
Executable(Context<ConstraintExecutable>)
State(Context<ConstraintState>)
Close(Context<ConstraintClose>)
Payer(Context<ConstraintPayer>)
Space(Context<ConstraintSpace>)
Address(Context<ConstraintAddress>)
TokenMint(Context<ConstraintTokenMint>)
TokenAuthority(Context<ConstraintTokenAuthority>)
AssociatedTokenMint(Context<ConstraintTokenMint>)
AssociatedTokenAuthority(Context<ConstraintTokenAuthority>)
MintAuthority(Context<ConstraintMintAuthority>)
MintFreezeAuthority(Context<ConstraintMintFreezeAuthority>)
MintDecimals(Context<ConstraintMintDecimals>)
Bump(Context<ConstraintTokenBump>)
ProgramSeed(Context<ConstraintProgramSeed>)
Trait Implementations
sourceimpl Debug for ConstraintToken
impl Debug for ConstraintToken
sourceimpl Parse for ConstraintToken
impl Parse for ConstraintToken
fn parse(stream: ParseStream<'_>) -> ParseResult<Self>
Auto Trait Implementations
impl RefUnwindSafe for ConstraintToken
impl !Send for ConstraintToken
impl !Sync for ConstraintToken
impl Unpin for ConstraintToken
impl UnwindSafe for ConstraintToken
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more