pub struct FreezeDelegatedAccountBuilder { /* private fields */ }
Expand description
Instruction builder.
Implementations§
source§impl FreezeDelegatedAccountBuilder
impl FreezeDelegatedAccountBuilder
pub fn new() -> Self
sourcepub fn token_account(&mut self, token_account: Pubkey) -> &mut Self
pub fn token_account(&mut self, token_account: Pubkey) -> &mut Self
Token account to freeze
sourcepub fn token_program(&mut self, token_program: Pubkey) -> &mut Self
pub fn token_program(&mut self, token_program: Pubkey) -> &mut Self
[optional account, default to 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA']
Token Program
pub fn add_remaining_account( &mut self, account: InstructionAccount ) -> &mut Self
pub fn add_remaining_accounts( &mut self, accounts: &[InstructionAccount] ) -> &mut Self
pub fn instruction(&self) -> Instruction
Trait Implementations§
source§impl Default for FreezeDelegatedAccountBuilder
impl Default for FreezeDelegatedAccountBuilder
source§fn default() -> FreezeDelegatedAccountBuilder
fn default() -> FreezeDelegatedAccountBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for FreezeDelegatedAccountBuilder
impl Send for FreezeDelegatedAccountBuilder
impl Sync for FreezeDelegatedAccountBuilder
impl Unpin for FreezeDelegatedAccountBuilder
impl UnwindSafe for FreezeDelegatedAccountBuilder
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