pub struct BubblegumSetCollectionSizeBuilder { /* private fields */ }
Expand description
Instruction builder for BubblegumSetCollectionSize
.
§Accounts:
[writable]
collection_metadata[signer]
collection_authority[]
collection_mint[signer]
bubblegum_signer[optional]
collection_authority_record
Implementations§
source§impl BubblegumSetCollectionSizeBuilder
impl BubblegumSetCollectionSizeBuilder
pub fn new() -> Self
sourcepub fn collection_metadata(&mut self, collection_metadata: Pubkey) -> &mut Self
pub fn collection_metadata(&mut self, collection_metadata: Pubkey) -> &mut Self
Collection Metadata account
Collection Update authority
sourcepub fn collection_mint(&mut self, collection_mint: Pubkey) -> &mut Self
pub fn collection_mint(&mut self, collection_mint: Pubkey) -> &mut Self
Mint of the Collection
sourcepub fn bubblegum_signer(&mut self, bubblegum_signer: Pubkey) -> &mut Self
pub fn bubblegum_signer(&mut self, bubblegum_signer: Pubkey) -> &mut Self
Signing PDA of Bubblegum program
[optional account]
Collection Authority Record PDA
pub fn set_collection_size_args( &mut self, set_collection_size_args: SetCollectionSizeArgs ) -> &mut Self
sourcepub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
pub fn add_remaining_account(&mut self, account: AccountMeta) -> &mut Self
Add an aditional account to the instruction.
sourcepub fn add_remaining_accounts(&mut self, accounts: &[AccountMeta]) -> &mut Self
pub fn add_remaining_accounts(&mut self, accounts: &[AccountMeta]) -> &mut Self
Add additional accounts to the instruction.
pub fn instruction(&self) -> Instruction
Trait Implementations§
source§impl Default for BubblegumSetCollectionSizeBuilder
impl Default for BubblegumSetCollectionSizeBuilder
source§fn default() -> BubblegumSetCollectionSizeBuilder
fn default() -> BubblegumSetCollectionSizeBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BubblegumSetCollectionSizeBuilder
impl Send for BubblegumSetCollectionSizeBuilder
impl Sync for BubblegumSetCollectionSizeBuilder
impl Unpin for BubblegumSetCollectionSizeBuilder
impl UnwindSafe for BubblegumSetCollectionSizeBuilder
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