pub struct VerifySizedCollectionItemBuilder { /* private fields */ }
Expand description
Instruction builder for VerifySizedCollectionItem
.
Accounts:
[writable]
metadata[signer]
collection_authority[writable, signer]
payer[]
collection_mint[writable]
collection[]
collection_master_edition_account[optional]
collection_authority_record
Implementations§
source§impl VerifySizedCollectionItemBuilder
impl VerifySizedCollectionItemBuilder
pub fn new() -> Self
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 collection(&mut self, collection: Pubkey) -> &mut Self
pub fn collection(&mut self, collection: Pubkey) -> &mut Self
Metadata Account of the Collection
sourcepub fn collection_master_edition_account(
&mut self,
collection_master_edition_account: Pubkey
) -> &mut Self
pub fn collection_master_edition_account( &mut self, collection_master_edition_account: Pubkey ) -> &mut Self
MasterEdition2 Account of the Collection Token
[optional account]
Collection Authority Record PDA
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 VerifySizedCollectionItemBuilder
impl Default for VerifySizedCollectionItemBuilder
source§fn default() -> VerifySizedCollectionItemBuilder
fn default() -> VerifySizedCollectionItemBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for VerifySizedCollectionItemBuilder
impl Send for VerifySizedCollectionItemBuilder
impl Sync for VerifySizedCollectionItemBuilder
impl Unpin for VerifySizedCollectionItemBuilder
impl UnwindSafe for VerifySizedCollectionItemBuilder
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