pub struct RevokeLockedTransferV1Builder { /* private fields */ }
Expand description
Instruction builder.
Implementations§
source§impl RevokeLockedTransferV1Builder
impl RevokeLockedTransferV1Builder
pub fn new() -> Self
sourcepub fn delegate_record(&mut self, delegate_record: Option<Pubkey>) -> &mut Self
pub fn delegate_record(&mut self, delegate_record: Option<Pubkey>) -> &mut Self
[optional account]
Delegate record account
sourcepub fn master_edition(&mut self, master_edition: Option<Pubkey>) -> &mut Self
pub fn master_edition(&mut self, master_edition: Option<Pubkey>) -> &mut Self
[optional account]
Master Edition account
sourcepub fn token_record(&mut self, token_record: Option<Pubkey>) -> &mut Self
pub fn token_record(&mut self, token_record: Option<Pubkey>) -> &mut Self
[optional account]
Token record account
Update authority or token owner
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']
System Program
sourcepub fn sysvar_instructions(&mut self, sysvar_instructions: Pubkey) -> &mut Self
pub fn sysvar_instructions(&mut self, sysvar_instructions: Pubkey) -> &mut Self
[optional account, default to 'Sysvar1nstructions1111111111111111111111111']
Instructions sysvar account
sourcepub fn spl_token_program(
&mut self,
spl_token_program: Option<Pubkey>
) -> &mut Self
pub fn spl_token_program( &mut self, spl_token_program: Option<Pubkey> ) -> &mut Self
[optional account]
SPL Token Program
[optional account]
Token Authorization Rules Program
[optional account]
Token Authorization Rules account
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 RevokeLockedTransferV1Builder
impl Default for RevokeLockedTransferV1Builder
source§fn default() -> RevokeLockedTransferV1Builder
fn default() -> RevokeLockedTransferV1Builder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for RevokeLockedTransferV1Builder
impl Send for RevokeLockedTransferV1Builder
impl Sync for RevokeLockedTransferV1Builder
impl Unpin for RevokeLockedTransferV1Builder
impl UnwindSafe for RevokeLockedTransferV1Builder
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