pub struct Migrate {Show 15 fields
pub metadata: Pubkey,
pub edition: Pubkey,
pub token: Pubkey,
pub token_owner: Pubkey,
pub mint: Pubkey,
pub payer: Pubkey,
pub authority: Pubkey,
pub collection_metadata: Pubkey,
pub delegate_record: Pubkey,
pub token_record: Pubkey,
pub system_program: Pubkey,
pub sysvar_instructions: Pubkey,
pub spl_token_program: Pubkey,
pub authorization_rules_program: Option<Pubkey>,
pub authorization_rules: Option<Pubkey>,
}Expand description
Accounts.
Fields§
§metadata: PubkeyMetadata account
edition: PubkeyEdition account
token: PubkeyToken account
token_owner: PubkeyToken account owner
mint: PubkeyMint account
payer: PubkeyPayer
Update authority
collection_metadata: PubkeyCollection metadata account
delegate_record: PubkeyDelegate record account
token_record: PubkeyToken record account
system_program: PubkeySystem program
sysvar_instructions: PubkeyInstruction sysvar account
spl_token_program: PubkeySPL Token Program
Token Authorization Rules Program
Token Authorization Rules account
Implementations§
Source§impl Migrate
impl Migrate
pub fn instruction(&self) -> Instruction
pub fn instruction_with_remaining_accounts( &self, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for Migrate
impl RefUnwindSafe for Migrate
impl Send for Migrate
impl Sync for Migrate
impl Unpin for Migrate
impl UnsafeUnpin for Migrate
impl UnwindSafe for Migrate
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