pub struct SetAndVerifyCollectionCpi<'a, 'b> {
pub __program: &'b AccountInfo<'a>,
pub metadata: &'b AccountInfo<'a>,
pub collection_authority: &'b AccountInfo<'a>,
pub payer: &'b AccountInfo<'a>,
pub update_authority: &'b AccountInfo<'a>,
pub collection_mint: &'b AccountInfo<'a>,
pub collection: &'b AccountInfo<'a>,
pub collection_master_edition_account: &'b AccountInfo<'a>,
pub collection_authority_record: Option<&'b AccountInfo<'a>>,
}
Expand description
set_and_verify_collection
CPI instruction.
Fields§
§__program: &'b AccountInfo<'a>
The program to invoke.
metadata: &'b AccountInfo<'a>
Metadata account
Collection Update authority
payer: &'b AccountInfo<'a>
Payer
Update Authority of Collection NFT and NFT
collection_mint: &'b AccountInfo<'a>
Mint of the Collection
collection: &'b AccountInfo<'a>
Metadata Account of the Collection
collection_master_edition_account: &'b AccountInfo<'a>
MasterEdition2 Account of the Collection Token
Collection Authority Record PDA
Implementations§
source§impl<'a, 'b> SetAndVerifyCollectionCpi<'a, 'b>
impl<'a, 'b> SetAndVerifyCollectionCpi<'a, 'b>
pub fn new( program: &'b AccountInfo<'a>, accounts: SetAndVerifyCollectionCpiAccounts<'a, 'b> ) -> Self
pub fn invoke(&self) -> ProgramResult
pub fn invoke_with_remaining_accounts( &self, remaining_accounts: &[(&'b AccountInfo<'a>, bool, bool)] ) -> ProgramResult
pub fn invoke_signed(&self, signers_seeds: &[&[&[u8]]]) -> ProgramResult
pub fn invoke_signed_with_remaining_accounts( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[(&'b AccountInfo<'a>, bool, bool)] ) -> ProgramResult
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for SetAndVerifyCollectionCpi<'a, 'b>
impl<'a, 'b> !Send for SetAndVerifyCollectionCpi<'a, 'b>
impl<'a, 'b> !Sync for SetAndVerifyCollectionCpi<'a, 'b>
impl<'a, 'b> Unpin for SetAndVerifyCollectionCpi<'a, 'b>
impl<'a, 'b> !UnwindSafe for SetAndVerifyCollectionCpi<'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