Enum anchor_syn::Constraint
source · pub enum Constraint {
Show 16 variants
Init(ConstraintInitGroup),
Zeroed(ConstraintZeroed),
Mut(ConstraintMut),
Signer(ConstraintSigner),
HasOne(ConstraintHasOne),
Raw(ConstraintRaw),
Owner(ConstraintOwner),
RentExempt(ConstraintRentExempt),
Seeds(ConstraintSeedsGroup),
AssociatedToken(ConstraintAssociatedToken),
Executable(ConstraintExecutable),
Close(ConstraintClose),
Address(ConstraintAddress),
TokenAccount(ConstraintTokenAccountGroup),
Mint(ConstraintTokenMintGroup),
Realloc(ConstraintReallocGroup),
}
Variants§
Init(ConstraintInitGroup)
Zeroed(ConstraintZeroed)
Mut(ConstraintMut)
Signer(ConstraintSigner)
HasOne(ConstraintHasOne)
Raw(ConstraintRaw)
Owner(ConstraintOwner)
RentExempt(ConstraintRentExempt)
Seeds(ConstraintSeedsGroup)
AssociatedToken(ConstraintAssociatedToken)
Executable(ConstraintExecutable)
Close(ConstraintClose)
Address(ConstraintAddress)
TokenAccount(ConstraintTokenAccountGroup)
Mint(ConstraintTokenMintGroup)
Realloc(ConstraintReallocGroup)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Constraint
impl !Send for Constraint
impl !Sync for Constraint
impl Unpin for Constraint
impl UnwindSafe for Constraint
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