Enum anchor_syn::Constraint
source · [−]pub enum Constraint {
Show 15 variants
Init(ConstraintInitGroup),
Zeroed(ConstraintZeroed),
Mut(ConstraintMut),
Signer(ConstraintSigner),
HasOne(ConstraintHasOne),
Literal(ConstraintLiteral),
Raw(ConstraintRaw),
Owner(ConstraintOwner),
RentExempt(ConstraintRentExempt),
Seeds(ConstraintSeedsGroup),
AssociatedToken(ConstraintAssociatedToken),
Executable(ConstraintExecutable),
State(ConstraintState),
Close(ConstraintClose),
Address(ConstraintAddress),
}
Variants
Init(ConstraintInitGroup)
Zeroed(ConstraintZeroed)
Mut(ConstraintMut)
Signer(ConstraintSigner)
HasOne(ConstraintHasOne)
Literal(ConstraintLiteral)
Raw(ConstraintRaw)
Owner(ConstraintOwner)
RentExempt(ConstraintRentExempt)
Seeds(ConstraintSeedsGroup)
AssociatedToken(ConstraintAssociatedToken)
Executable(ConstraintExecutable)
State(ConstraintState)
Close(ConstraintClose)
Address(ConstraintAddress)
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
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