pub struct VerifyCollectionV1Builder { /* private fields */ }Expand description
Instruction builder for VerifyCollectionV1.
§Accounts:
[signer]authority[optional]delegate_record[writable]metadata[]collection_mint[writable, optional]collection_metadata[optional]collection_master_edition[optional]system_program (default to11111111111111111111111111111111)[optional]sysvar_instructions (default toSysvar1nstructions1111111111111111111111111)
Implementations§
Source§impl VerifyCollectionV1Builder
impl VerifyCollectionV1Builder
pub fn new() -> Self
Creator to verify, collection update authority or delegate
Sourcepub fn delegate_record(&mut self, delegate_record: Option<Pubkey>) -> &mut Self
pub fn delegate_record(&mut self, delegate_record: Option<Pubkey>) -> &mut Self
[optional account]
Delegate record PDA
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_metadata(
&mut self,
collection_metadata: Option<Pubkey>,
) -> &mut Self
pub fn collection_metadata( &mut self, collection_metadata: Option<Pubkey>, ) -> &mut Self
[optional account]
Metadata Account of the Collection
Sourcepub fn collection_master_edition(
&mut self,
collection_master_edition: Option<Pubkey>,
) -> &mut Self
pub fn collection_master_edition( &mut self, collection_master_edition: Option<Pubkey>, ) -> &mut Self
[optional account]
Master Edition Account of the Collection Token
Sourcepub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
pub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
[optional account, default to '11111111111111111111111111111111']
System program
Sourcepub fn sysvar_instructions(&mut self, sysvar_instructions: Pubkey) -> &mut Self
pub fn sysvar_instructions(&mut self, sysvar_instructions: Pubkey) -> &mut Self
[optional account, default to 'Sysvar1nstructions1111111111111111111111111']
Instructions sysvar account
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 VerifyCollectionV1Builder
impl Default for VerifyCollectionV1Builder
Source§fn default() -> VerifyCollectionV1Builder
fn default() -> VerifyCollectionV1Builder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VerifyCollectionV1Builder
impl RefUnwindSafe for VerifyCollectionV1Builder
impl Send for VerifyCollectionV1Builder
impl Sync for VerifyCollectionV1Builder
impl Unpin for VerifyCollectionV1Builder
impl UnsafeUnpin for VerifyCollectionV1Builder
impl UnwindSafe for VerifyCollectionV1Builder
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