pub struct AddAssetsToGroupV1Builder { /* private fields */ }Expand description
Instruction builder for AddAssetsToGroupV1.
§Accounts:
[writable]group[writable, signer]payer[signer, optional]authority[optional]system_program (default to11111111111111111111111111111111)
Implementations§
Source§impl AddAssetsToGroupV1Builder
impl AddAssetsToGroupV1Builder
pub fn new() -> Self
[optional account]
The group update authority and asset update authority or delegate
Sourcepub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
pub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
[optional account, default to '11111111111111111111111111111111']
The system program
Sourcepub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
pub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
Add an aditional account to the instruction.
Sourcepub fn add_remaining_accounts(&mut self, accounts: &[AccountMeta]) -> &mut Self
pub fn add_remaining_accounts(&mut self, accounts: &[AccountMeta]) -> &mut Self
Add additional accounts to the instruction.
pub fn instruction(&self) -> Instruction
Trait Implementations§
Source§impl Default for AddAssetsToGroupV1Builder
impl Default for AddAssetsToGroupV1Builder
Source§fn default() -> AddAssetsToGroupV1Builder
fn default() -> AddAssetsToGroupV1Builder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AddAssetsToGroupV1Builder
impl RefUnwindSafe for AddAssetsToGroupV1Builder
impl Send for AddAssetsToGroupV1Builder
impl Sync for AddAssetsToGroupV1Builder
impl Unpin for AddAssetsToGroupV1Builder
impl UnsafeUnpin for AddAssetsToGroupV1Builder
impl UnwindSafe for AddAssetsToGroupV1Builder
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