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