Enum anchor_syn::ConstraintToken
source · pub enum ConstraintToken {
Show 29 variants
Init(Context<ConstraintInit>),
Zeroed(Context<ConstraintZeroed>),
Mut(Context<ConstraintMut>),
Signer(Context<ConstraintSigner>),
HasOne(Context<ConstraintHasOne>),
Raw(Context<ConstraintRaw>),
Owner(Context<ConstraintOwner>),
RentExempt(Context<ConstraintRentExempt>),
Seeds(Context<ConstraintSeeds>),
Executable(Context<ConstraintExecutable>),
Close(Context<ConstraintClose>),
Payer(Context<ConstraintPayer>),
Space(Context<ConstraintSpace>),
Address(Context<ConstraintAddress>),
TokenMint(Context<ConstraintTokenMint>),
TokenAuthority(Context<ConstraintTokenAuthority>),
TokenTokenProgram(Context<ConstraintTokenProgram>),
AssociatedTokenMint(Context<ConstraintTokenMint>),
AssociatedTokenAuthority(Context<ConstraintTokenAuthority>),
AssociatedTokenTokenProgram(Context<ConstraintTokenProgram>),
MintAuthority(Context<ConstraintMintAuthority>),
MintFreezeAuthority(Context<ConstraintMintFreezeAuthority>),
MintDecimals(Context<ConstraintMintDecimals>),
MintTokenProgram(Context<ConstraintTokenProgram>),
Bump(Context<ConstraintTokenBump>),
ProgramSeed(Context<ConstraintProgramSeed>),
Realloc(Context<ConstraintRealloc>),
ReallocPayer(Context<ConstraintReallocPayer>),
ReallocZero(Context<ConstraintReallocZero>),
}
Variants§
Init(Context<ConstraintInit>)
Zeroed(Context<ConstraintZeroed>)
Mut(Context<ConstraintMut>)
Signer(Context<ConstraintSigner>)
HasOne(Context<ConstraintHasOne>)
Raw(Context<ConstraintRaw>)
Owner(Context<ConstraintOwner>)
RentExempt(Context<ConstraintRentExempt>)
Seeds(Context<ConstraintSeeds>)
Executable(Context<ConstraintExecutable>)
Close(Context<ConstraintClose>)
Payer(Context<ConstraintPayer>)
Space(Context<ConstraintSpace>)
Address(Context<ConstraintAddress>)
TokenMint(Context<ConstraintTokenMint>)
TokenAuthority(Context<ConstraintTokenAuthority>)
TokenTokenProgram(Context<ConstraintTokenProgram>)
AssociatedTokenMint(Context<ConstraintTokenMint>)
AssociatedTokenAuthority(Context<ConstraintTokenAuthority>)
AssociatedTokenTokenProgram(Context<ConstraintTokenProgram>)
MintAuthority(Context<ConstraintMintAuthority>)
MintFreezeAuthority(Context<ConstraintMintFreezeAuthority>)
MintDecimals(Context<ConstraintMintDecimals>)
MintTokenProgram(Context<ConstraintTokenProgram>)
Bump(Context<ConstraintTokenBump>)
ProgramSeed(Context<ConstraintProgramSeed>)
Realloc(Context<ConstraintRealloc>)
ReallocPayer(Context<ConstraintReallocPayer>)
ReallocZero(Context<ConstraintReallocZero>)
Trait Implementations§
source§impl Debug for ConstraintToken
impl Debug for ConstraintToken
source§impl 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§
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