pub struct ConvertMasterEditionV1ToV2CpiBuilder<'a, 'b> { /* private fields */ }
Expand description
convert_master_edition_v1_to_v2
CPI instruction builder.
Implementations§
source§impl<'a, 'b> ConvertMasterEditionV1ToV2CpiBuilder<'a, 'b>
impl<'a, 'b> ConvertMasterEditionV1ToV2CpiBuilder<'a, 'b>
pub fn new(program: &'b AccountInfo<'a>) -> Self
sourcepub fn master_edition(
&mut self,
master_edition: &'b AccountInfo<'a>
) -> &mut Self
pub fn master_edition( &mut self, master_edition: &'b AccountInfo<'a> ) -> &mut Self
Master Record Edition V1 (pda of [‘metadata’, program id, master metadata mint id, ‘edition’])
sourcepub fn one_time_auth(&mut self, one_time_auth: &'b AccountInfo<'a>) -> &mut Self
pub fn one_time_auth(&mut self, one_time_auth: &'b AccountInfo<'a>) -> &mut Self
One time authorization mint
sourcepub fn printing_mint(&mut self, printing_mint: &'b AccountInfo<'a>) -> &mut Self
pub fn printing_mint(&mut self, printing_mint: &'b AccountInfo<'a>) -> &mut Self
Printing mint
pub fn add_remaining_account( &mut self, account: InstructionAccountInfo<'a, 'b> ) -> &mut Self
pub fn add_remaining_accounts( &mut self, accounts: &[InstructionAccountInfo<'a, 'b>] ) -> &mut Self
pub fn invoke(&self) -> ProgramResult
pub fn invoke_signed(&self, signers_seeds: &[&[&[u8]]]) -> ProgramResult
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for ConvertMasterEditionV1ToV2CpiBuilder<'a, 'b>
impl<'a, 'b> !Send for ConvertMasterEditionV1ToV2CpiBuilder<'a, 'b>
impl<'a, 'b> !Sync for ConvertMasterEditionV1ToV2CpiBuilder<'a, 'b>
impl<'a, 'b> Unpin for ConvertMasterEditionV1ToV2CpiBuilder<'a, 'b>
impl<'a, 'b> !UnwindSafe for ConvertMasterEditionV1ToV2CpiBuilder<'a, 'b>
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