pub struct CancelAuthorityTransferBuilder { /* private fields */ }Expand description
Instruction builder for CancelAuthorityTransfer.
§Accounts:
[writable]whitelist_account[signer]whitelist_authority
Implementations§
Source§impl CancelAuthorityTransferBuilder
impl CancelAuthorityTransferBuilder
pub fn new() -> Self
Sourcepub fn whitelist_account(&mut self, whitelist_account: Pubkey) -> &mut Self
pub fn whitelist_account(&mut self, whitelist_account: Pubkey) -> &mut Self
The whitelist account
The whitelist authority
Sourcepub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
pub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
Add an additional 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 Clone for CancelAuthorityTransferBuilder
impl Clone for CancelAuthorityTransferBuilder
Source§fn clone(&self) -> CancelAuthorityTransferBuilder
fn clone(&self) -> CancelAuthorityTransferBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for CancelAuthorityTransferBuilder
impl Default for CancelAuthorityTransferBuilder
Source§fn default() -> CancelAuthorityTransferBuilder
fn default() -> CancelAuthorityTransferBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CancelAuthorityTransferBuilder
impl RefUnwindSafe for CancelAuthorityTransferBuilder
impl Send for CancelAuthorityTransferBuilder
impl Sync for CancelAuthorityTransferBuilder
impl Unpin for CancelAuthorityTransferBuilder
impl UnsafeUnpin for CancelAuthorityTransferBuilder
impl UnwindSafe for CancelAuthorityTransferBuilder
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