pub struct SetAndVerifyCollection {Show 16 fields
pub tree_config: Pubkey,
pub leaf_owner: Pubkey,
pub leaf_delegate: Pubkey,
pub merkle_tree: Pubkey,
pub payer: Pubkey,
pub tree_creator_or_delegate: (Pubkey, bool),
pub collection_authority: Pubkey,
pub collection_authority_record_pda: Option<Pubkey>,
pub collection_mint: Pubkey,
pub collection_metadata: Pubkey,
pub collection_edition: Pubkey,
pub bubblegum_signer: Pubkey,
pub log_wrapper: Pubkey,
pub compression_program: Pubkey,
pub token_metadata_program: Pubkey,
pub system_program: Pubkey,
}Expand description
Accounts.
Fields§
§tree_config: Pubkey§leaf_owner: Pubkey§leaf_delegate: Pubkey§merkle_tree: Pubkey§payer: Pubkey§tree_creator_or_delegate: (Pubkey, bool)This account is checked to be a signer in
the case of set_and_verify_collection where
we are actually changing the NFT metadata.
If there is no collecton authority record PDA then this must be the Bubblegum program address.
collection_mint: Pubkey§collection_metadata: Pubkey§collection_edition: Pubkey§bubblegum_signer: Pubkey§log_wrapper: Pubkey§compression_program: Pubkey§token_metadata_program: Pubkey§system_program: PubkeyImplementations§
Source§impl SetAndVerifyCollection
impl SetAndVerifyCollection
pub fn instruction( &self, args: SetAndVerifyCollectionInstructionArgs, ) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: SetAndVerifyCollectionInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for SetAndVerifyCollection
impl RefUnwindSafe for SetAndVerifyCollection
impl Send for SetAndVerifyCollection
impl Sync for SetAndVerifyCollection
impl Unpin for SetAndVerifyCollection
impl UnsafeUnpin for SetAndVerifyCollection
impl UnwindSafe for SetAndVerifyCollection
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