Enum anchor_syn::Constraint[][src]

pub enum Constraint {
Show 14 variants Init(ConstraintInit), Mut(ConstraintMut), Signer(ConstraintSigner), HasOne(ConstraintHasOne), Literal(ConstraintLiteral), Raw(ConstraintRaw), Owner(ConstraintOwner), RentExempt(ConstraintRentExempt), Seeds(ConstraintSeedsGroup), Executable(ConstraintExecutable), State(ConstraintState), AssociatedGroup(ConstraintAssociatedGroup), Close(ConstraintClose), Address(ConstraintAddress),
}

Variants

Init

Tuple Fields of Init

0: ConstraintInit
Mut

Tuple Fields of Mut

0: ConstraintMut
Signer

Tuple Fields of Signer

0: ConstraintSigner
HasOne

Tuple Fields of HasOne

0: ConstraintHasOne
Literal

Tuple Fields of Literal

0: ConstraintLiteral
Raw

Tuple Fields of Raw

0: ConstraintRaw
Owner

Tuple Fields of Owner

0: ConstraintOwner
RentExempt

Tuple Fields of RentExempt

0: ConstraintRentExempt
Seeds

Tuple Fields of Seeds

0: ConstraintSeedsGroup
Executable

Tuple Fields of Executable

0: ConstraintExecutable
State

Tuple Fields of State

0: ConstraintState
AssociatedGroup

Tuple Fields of AssociatedGroup

0: ConstraintAssociatedGroup
Close

Tuple Fields of Close

0: ConstraintClose
Address

Tuple Fields of Address

0: ConstraintAddress

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.