pub struct SetAndVerifySizedCollectionItemCpiBuilder<'a, 'b> { /* private fields */ }
Expand description
set_and_verify_sized_collection_item
CPI instruction builder.
Implementations§
source§impl<'a, 'b> SetAndVerifySizedCollectionItemCpiBuilder<'a, 'b>
impl<'a, 'b> SetAndVerifySizedCollectionItemCpiBuilder<'a, 'b>
pub fn new(program: &'b AccountInfo<'a>) -> Self
sourcepub fn metadata(&mut self, metadata: &'b AccountInfo<'a>) -> &mut Self
pub fn metadata(&mut self, metadata: &'b AccountInfo<'a>) -> &mut Self
Metadata account
Collection Update authority
sourcepub fn payer(&mut self, payer: &'b AccountInfo<'a>) -> &mut Self
pub fn payer(&mut self, payer: &'b AccountInfo<'a>) -> &mut Self
payer
Update Authority of Collection NFT and NFT
sourcepub fn collection_mint(
&mut self,
collection_mint: &'b AccountInfo<'a>
) -> &mut Self
pub fn collection_mint( &mut self, collection_mint: &'b AccountInfo<'a> ) -> &mut Self
Mint of the Collection
sourcepub fn collection(&mut self, collection: &'b AccountInfo<'a>) -> &mut Self
pub fn collection(&mut self, collection: &'b AccountInfo<'a>) -> &mut Self
Metadata Account of the Collection
sourcepub fn collection_master_edition_account(
&mut self,
collection_master_edition_account: &'b AccountInfo<'a>
) -> &mut Self
pub fn collection_master_edition_account( &mut self, collection_master_edition_account: &'b AccountInfo<'a> ) -> &mut Self
MasterEdition2 Account of the Collection Token
[optional account]
Collection Authority Record PDA
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 SetAndVerifySizedCollectionItemCpiBuilder<'a, 'b>
impl<'a, 'b> !Send for SetAndVerifySizedCollectionItemCpiBuilder<'a, 'b>
impl<'a, 'b> !Sync for SetAndVerifySizedCollectionItemCpiBuilder<'a, 'b>
impl<'a, 'b> Unpin for SetAndVerifySizedCollectionItemCpiBuilder<'a, 'b>
impl<'a, 'b> !UnwindSafe for SetAndVerifySizedCollectionItemCpiBuilder<'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