Struct anchor_syn::parser::accounts::constraints::ConstraintGroupBuilder [−][src]
pub struct ConstraintGroupBuilder {}Show fields
pub init: Option<Context<ConstraintInit>>, pub mutable: Option<Context<ConstraintMut>>, pub signer: Option<Context<ConstraintSigner>>, pub belongs_to: Vec<Context<ConstraintBelongsTo>>, 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 associated: Option<Context<ConstraintAssociated>>, pub associated_payer: Option<Context<ConstraintAssociatedPayer>>, pub associated_space: Option<Context<ConstraintAssociatedSpace>>, pub associated_with: Vec<Context<ConstraintAssociatedWith>>,
Fields
init: Option<Context<ConstraintInit>>
mutable: Option<Context<ConstraintMut>>
signer: Option<Context<ConstraintSigner>>
belongs_to: Vec<Context<ConstraintBelongsTo>>
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>>
associated: Option<Context<ConstraintAssociated>>
associated_payer: Option<Context<ConstraintAssociatedPayer>>
associated_space: Option<Context<ConstraintAssociatedSpace>>
associated_with: Vec<Context<ConstraintAssociatedWith>>
Implementations
impl ConstraintGroupBuilder
[src]
impl ConstraintGroupBuilder
[src]pub fn build(self) -> ParseResult<ConstraintGroup>
[src]
pub fn add(&mut self, c: ConstraintToken) -> ParseResult<()>
[src]
Trait Implementations
impl Default for ConstraintGroupBuilder
[src]
impl Default for ConstraintGroupBuilder
[src]fn default() -> ConstraintGroupBuilder
[src]
fn default() -> ConstraintGroupBuilder
[src]Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ConstraintGroupBuilder
impl !Send for ConstraintGroupBuilder
impl !Sync for ConstraintGroupBuilder
impl Unpin for ConstraintGroupBuilder
impl UnwindSafe for ConstraintGroupBuilder
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self