pub struct BubblegumSetCollectionSizeCpi<'a, 'b> {
pub __program: &'b AccountInfo<'a>,
pub collection_metadata: &'b AccountInfo<'a>,
pub collection_authority: &'b AccountInfo<'a>,
pub collection_mint: &'b AccountInfo<'a>,
pub bubblegum_signer: &'b AccountInfo<'a>,
pub collection_authority_record: Option<&'b AccountInfo<'a>>,
pub __args: BubblegumSetCollectionSizeInstructionArgs,
}
Expand description
bubblegum_set_collection_size
CPI instruction.
Fields§
§__program: &'b AccountInfo<'a>
The program to invoke.
collection_metadata: &'b AccountInfo<'a>
Collection Metadata account
Collection Update authority
collection_mint: &'b AccountInfo<'a>
Mint of the Collection
bubblegum_signer: &'b AccountInfo<'a>
Signing PDA of Bubblegum program
Collection Authority Record PDA
__args: BubblegumSetCollectionSizeInstructionArgs
The arguments for the instruction.
Implementations§
source§impl<'a, 'b> BubblegumSetCollectionSizeCpi<'a, 'b>
impl<'a, 'b> BubblegumSetCollectionSizeCpi<'a, 'b>
pub fn new( program: &'b AccountInfo<'a>, accounts: BubblegumSetCollectionSizeCpiAccounts<'a, 'b>, args: BubblegumSetCollectionSizeInstructionArgs ) -> Self
pub fn invoke(&self) -> ProgramResult
pub fn invoke_with_remaining_accounts( &self, remaining_accounts: &[InstructionAccountInfo<'a, '_>] ) -> ProgramResult
pub fn invoke_signed(&self, signers_seeds: &[&[&[u8]]]) -> ProgramResult
pub fn invoke_signed_with_remaining_accounts( &self, signers_seeds: &[&[&[u8]]], remaining_accounts: &[InstructionAccountInfo<'a, '_>] ) -> ProgramResult
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for BubblegumSetCollectionSizeCpi<'a, 'b>
impl<'a, 'b> !Send for BubblegumSetCollectionSizeCpi<'a, 'b>
impl<'a, 'b> !Sync for BubblegumSetCollectionSizeCpi<'a, 'b>
impl<'a, 'b> Unpin for BubblegumSetCollectionSizeCpi<'a, 'b>
impl<'a, 'b> !UnwindSafe for BubblegumSetCollectionSizeCpi<'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