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 Freeze for SetCollectionSizeBuilder
impl RefUnwindSafe for SetCollectionSizeBuilder
impl Send for SetCollectionSizeBuilder
impl Sync for SetCollectionSizeBuilder
impl Unpin for SetCollectionSizeBuilder
impl UnsafeUnpin 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