Enum anchor_syn::Constraint[][src]

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)

Tuple Fields

Zeroed(ConstraintZeroed)

Tuple Fields

Mut(ConstraintMut)

Tuple Fields

Signer(ConstraintSigner)

Tuple Fields

HasOne(ConstraintHasOne)

Tuple Fields

Literal(ConstraintLiteral)

Tuple Fields

Raw(ConstraintRaw)

Tuple Fields

Owner(ConstraintOwner)

Tuple Fields

RentExempt(ConstraintRentExempt)

Tuple Fields

Seeds(ConstraintSeedsGroup)

Tuple Fields

AssociatedToken(ConstraintAssociatedToken)

Executable(ConstraintExecutable)

Tuple Fields

State(ConstraintState)

Tuple Fields

Close(ConstraintClose)

Tuple Fields

Address(ConstraintAddress)

Tuple Fields

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.