Struct mpl_token_metadata::instruction::builders::VerifyBuilder
source · pub struct VerifyBuilder {
pub authority: Option<Pubkey>,
pub delegate_record: Option<Pubkey>,
pub metadata: Option<Pubkey>,
pub collection_mint: Option<Pubkey>,
pub collection_metadata: Option<Pubkey>,
pub collection_master_edition: Option<Pubkey>,
pub system_program: Option<Pubkey>,
pub sysvar_instructions: Option<Pubkey>,
}
Fields§
§delegate_record: Option<Pubkey>
§metadata: Option<Pubkey>
§collection_mint: Option<Pubkey>
§collection_metadata: Option<Pubkey>
§collection_master_edition: Option<Pubkey>
§system_program: Option<Pubkey>
§sysvar_instructions: Option<Pubkey>
Implementations§
source§impl VerifyBuilder
impl VerifyBuilder
pub fn new() -> Box<VerifyBuilder>
pub fn delegate_record(&mut self, delegate_record: Pubkey) -> &mut Self
pub fn metadata(&mut self, metadata: Pubkey) -> &mut Self
pub fn collection_mint(&mut self, collection_mint: Pubkey) -> &mut Self
pub fn collection_metadata(&mut self, collection_metadata: Pubkey) -> &mut Self
pub fn collection_master_edition( &mut self, collection_master_edition: Pubkey ) -> &mut Self
pub fn system_program(&mut self, system_program: Pubkey) -> &mut Self
pub fn sysvar_instructions(&mut self, sysvar_instructions: Pubkey) -> &mut Self
pub fn build( &mut self, args: VerificationArgs ) -> Result<Box<Verify>, Box<dyn Error>>
Auto Trait Implementations§
impl RefUnwindSafe for VerifyBuilder
impl Send for VerifyBuilder
impl Sync for VerifyBuilder
impl Unpin for VerifyBuilder
impl UnwindSafe for VerifyBuilder
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