pub struct RemoveCollectionsFromGroupV1Builder { /* private fields */ }Expand description
Instruction builder for RemoveCollectionsFromGroupV1.
§Accounts:
[writable]group[writable, signer]payer[signer, optional]authority[optional]system_program (default to11111111111111111111111111111111)
Implementations§
Source§impl RemoveCollectionsFromGroupV1Builder
impl RemoveCollectionsFromGroupV1Builder
pub fn new() -> Self
[optional account]
The group update authority and collection 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
pub fn collections(&mut self, collections: Vec<Pubkey>) -> &mut Self
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 RemoveCollectionsFromGroupV1Builder
impl Default for RemoveCollectionsFromGroupV1Builder
Source§fn default() -> RemoveCollectionsFromGroupV1Builder
fn default() -> RemoveCollectionsFromGroupV1Builder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RemoveCollectionsFromGroupV1Builder
impl RefUnwindSafe for RemoveCollectionsFromGroupV1Builder
impl Send for RemoveCollectionsFromGroupV1Builder
impl Sync for RemoveCollectionsFromGroupV1Builder
impl Unpin for RemoveCollectionsFromGroupV1Builder
impl UnsafeUnpin for RemoveCollectionsFromGroupV1Builder
impl UnwindSafe for RemoveCollectionsFromGroupV1Builder
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