pub struct SetCollectionSizeBuilder { /* private fields */ }
Expand description
Instruction builder for SetCollectionSize
.
§Accounts:
[writable]
collection_metadata[writable, signer]
collection_authority[]
collection_mint[optional]
collection_authority_record
Implementations§
source§impl SetCollectionSizeBuilder
impl SetCollectionSizeBuilder
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
[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 SetCollectionSizeBuilder
impl Default for SetCollectionSizeBuilder
source§fn default() -> SetCollectionSizeBuilder
fn default() -> SetCollectionSizeBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SetCollectionSizeBuilder
impl Send for SetCollectionSizeBuilder
impl Sync for SetCollectionSizeBuilder
impl Unpin for SetCollectionSizeBuilder
impl UnwindSafe for SetCollectionSizeBuilder
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