Struct anchor_syn::ConstraintGroup
source · pub struct ConstraintGroup {Show 16 fields
pub init: Option<ConstraintInitGroup>,
pub zeroed: Option<ConstraintZeroed>,
pub mutable: Option<ConstraintMut>,
pub signer: Option<ConstraintSigner>,
pub owner: Option<ConstraintOwner>,
pub rent_exempt: Option<ConstraintRentExempt>,
pub seeds: Option<ConstraintSeedsGroup>,
pub executable: Option<ConstraintExecutable>,
pub has_one: Vec<ConstraintHasOne>,
pub raw: Vec<ConstraintRaw>,
pub close: Option<ConstraintClose>,
pub address: Option<ConstraintAddress>,
pub associated_token: Option<ConstraintAssociatedToken>,
pub token_account: Option<ConstraintTokenAccountGroup>,
pub mint: Option<ConstraintTokenMintGroup>,
pub realloc: Option<ConstraintReallocGroup>,
}
Fields§
§init: Option<ConstraintInitGroup>
§zeroed: Option<ConstraintZeroed>
§mutable: Option<ConstraintMut>
§signer: Option<ConstraintSigner>
§owner: Option<ConstraintOwner>
§rent_exempt: Option<ConstraintRentExempt>
§seeds: Option<ConstraintSeedsGroup>
§executable: Option<ConstraintExecutable>
§has_one: Vec<ConstraintHasOne>
§raw: Vec<ConstraintRaw>
§close: Option<ConstraintClose>
§address: Option<ConstraintAddress>
§associated_token: Option<ConstraintAssociatedToken>
§token_account: Option<ConstraintTokenAccountGroup>
§mint: Option<ConstraintTokenMintGroup>
§realloc: Option<ConstraintReallocGroup>
Implementations§
Trait Implementations§
source§impl Clone for ConstraintGroup
impl Clone for ConstraintGroup
source§fn clone(&self) -> ConstraintGroup
fn clone(&self) -> ConstraintGroup
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ConstraintGroup
impl Debug for ConstraintGroup
source§impl Default for ConstraintGroup
impl Default for ConstraintGroup
source§fn default() -> ConstraintGroup
fn default() -> ConstraintGroup
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for ConstraintGroup
impl !Send for ConstraintGroup
impl !Sync for ConstraintGroup
impl Unpin for ConstraintGroup
impl UnwindSafe for ConstraintGroup
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more