Struct anchor_syn::parser::accounts::constraints::ConstraintGroupBuilder[][src]

pub struct ConstraintGroupBuilder<'ty> {
Show 22 fields pub f_ty: Option<&'ty Ty>, pub init: Option<Context<ConstraintInit>>, pub zeroed: Option<Context<ConstraintZeroed>>, pub mutable: Option<Context<ConstraintMut>>, pub signer: Option<Context<ConstraintSigner>>, pub has_one: Vec<Context<ConstraintHasOne>>, pub literal: Vec<Context<ConstraintLiteral>>, pub raw: Vec<Context<ConstraintRaw>>, pub owner: Option<Context<ConstraintOwner>>, pub rent_exempt: Option<Context<ConstraintRentExempt>>, pub seeds: Option<Context<ConstraintSeeds>>, pub executable: Option<Context<ConstraintExecutable>>, pub state: Option<Context<ConstraintState>>, pub payer: Option<Context<ConstraintPayer>>, pub space: Option<Context<ConstraintSpace>>, pub close: Option<Context<ConstraintClose>>, pub address: Option<Context<ConstraintAddress>>, pub token_mint: Option<Context<ConstraintTokenMint>>, pub token_authority: Option<Context<ConstraintTokenAuthority>>, pub mint_authority: Option<Context<ConstraintMintAuthority>>, pub mint_decimals: Option<Context<ConstraintMintDecimals>>, pub bump: Option<Context<ConstraintTokenBump>>,
}

Fields

f_ty: Option<&'ty Ty>init: Option<Context<ConstraintInit>>zeroed: Option<Context<ConstraintZeroed>>mutable: Option<Context<ConstraintMut>>signer: Option<Context<ConstraintSigner>>has_one: Vec<Context<ConstraintHasOne>>literal: Vec<Context<ConstraintLiteral>>raw: Vec<Context<ConstraintRaw>>owner: Option<Context<ConstraintOwner>>rent_exempt: Option<Context<ConstraintRentExempt>>seeds: Option<Context<ConstraintSeeds>>executable: Option<Context<ConstraintExecutable>>state: Option<Context<ConstraintState>>payer: Option<Context<ConstraintPayer>>space: Option<Context<ConstraintSpace>>close: Option<Context<ConstraintClose>>address: Option<Context<ConstraintAddress>>token_mint: Option<Context<ConstraintTokenMint>>token_authority: Option<Context<ConstraintTokenAuthority>>mint_authority: Option<Context<ConstraintMintAuthority>>mint_decimals: Option<Context<ConstraintMintDecimals>>bump: Option<Context<ConstraintTokenBump>>

Implementations

Trait Implementations

Returns the “default value” for a type. 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.