pub struct VerifyCollectionV1CpiBuilder<'a, 'b> { /* private fields */ }
Expand description
verify_collection_v1
CPI instruction builder.
Implementations§
source§impl<'a, 'b> VerifyCollectionV1CpiBuilder<'a, 'b>
impl<'a, 'b> VerifyCollectionV1CpiBuilder<'a, 'b>
pub fn new(program: &'b AccountInfo<'a>) -> Self
Creator to verify, collection update authority or delegate
sourcepub fn delegate_record(
&mut self,
delegate_record: Option<&'b AccountInfo<'a>>
) -> &mut Self
pub fn delegate_record( &mut self, delegate_record: Option<&'b AccountInfo<'a>> ) -> &mut Self
[optional account]
Delegate record PDA
sourcepub fn metadata(&mut self, metadata: &'b AccountInfo<'a>) -> &mut Self
pub fn metadata(&mut self, metadata: &'b AccountInfo<'a>) -> &mut Self
Metadata account
sourcepub fn collection_mint(
&mut self,
collection_mint: &'b AccountInfo<'a>
) -> &mut Self
pub fn collection_mint( &mut self, collection_mint: &'b AccountInfo<'a> ) -> &mut Self
Mint of the Collection
sourcepub fn collection_metadata(
&mut self,
collection_metadata: Option<&'b AccountInfo<'a>>
) -> &mut Self
pub fn collection_metadata( &mut self, collection_metadata: Option<&'b AccountInfo<'a>> ) -> &mut Self
[optional account]
Metadata Account of the Collection
sourcepub fn collection_master_edition(
&mut self,
collection_master_edition: Option<&'b AccountInfo<'a>>
) -> &mut Self
pub fn collection_master_edition( &mut self, collection_master_edition: Option<&'b AccountInfo<'a>> ) -> &mut Self
[optional account]
Master Edition Account of the Collection Token
sourcepub fn system_program(
&mut self,
system_program: &'b AccountInfo<'a>
) -> &mut Self
pub fn system_program( &mut self, system_program: &'b AccountInfo<'a> ) -> &mut Self
System program
sourcepub fn sysvar_instructions(
&mut self,
sysvar_instructions: &'b AccountInfo<'a>
) -> &mut Self
pub fn sysvar_instructions( &mut self, sysvar_instructions: &'b AccountInfo<'a> ) -> &mut Self
Instructions sysvar account
pub fn add_remaining_account( &mut self, account: InstructionAccountInfo<'a, 'b> ) -> &mut Self
pub fn add_remaining_accounts( &mut self, accounts: &[InstructionAccountInfo<'a, 'b>] ) -> &mut Self
pub fn invoke(&self) -> ProgramResult
pub fn invoke_signed(&self, signers_seeds: &[&[&[u8]]]) -> ProgramResult
Auto Trait Implementations§
impl<'a, 'b> !RefUnwindSafe for VerifyCollectionV1CpiBuilder<'a, 'b>
impl<'a, 'b> !Send for VerifyCollectionV1CpiBuilder<'a, 'b>
impl<'a, 'b> !Sync for VerifyCollectionV1CpiBuilder<'a, 'b>
impl<'a, 'b> Unpin for VerifyCollectionV1CpiBuilder<'a, 'b>
impl<'a, 'b> !UnwindSafe for VerifyCollectionV1CpiBuilder<'a, 'b>
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