Enum anchor_syn::Constraint[][src]

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

Variants

Tuple Fields of Init

0: ConstraintInitGroup

Tuple Fields of Zeroed

0: ConstraintZeroed

Tuple Fields of Mut

0: ConstraintMut

Tuple Fields of Signer

0: ConstraintSigner

Tuple Fields of HasOne

0: ConstraintHasOne

Tuple Fields of Literal

0: ConstraintLiteral

Tuple Fields of Raw

0: ConstraintRaw

Tuple Fields of Owner

0: ConstraintOwner

Tuple Fields of RentExempt

0: ConstraintRentExempt

Tuple Fields of Seeds

0: ConstraintSeedsGroup

Tuple Fields of Executable

0: ConstraintExecutable

Tuple Fields of State

0: ConstraintState

Tuple Fields of Close

0: ConstraintClose

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.