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 RefUnwindSafe for VerifyCollectionV1Builder
impl Send for VerifyCollectionV1Builder
impl Sync for VerifyCollectionV1Builder
impl Unpin 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