pub struct SetCollectionV2 {Show 14 fields
pub tree_config: Pubkey,
pub payer: Pubkey,
pub authority: Option<Pubkey>,
pub new_collection_authority: Option<Pubkey>,
pub leaf_owner: Pubkey,
pub leaf_delegate: Option<Pubkey>,
pub merkle_tree: Pubkey,
pub core_collection: Option<Pubkey>,
pub new_core_collection: Option<Pubkey>,
pub mpl_core_cpi_signer: Pubkey,
pub log_wrapper: Pubkey,
pub compression_program: Pubkey,
pub mpl_core_program: Pubkey,
pub system_program: Pubkey,
}Expand description
Accounts.
Fields§
§tree_config: Pubkey§payer: PubkeyIf item is not in a collection, then authority must be tree owner/delegate. If item is
getting removed from a collection, then this must be an authority for the existing
collection. Defaults to payer
If item is getting added to a new collection, then this must be the authority
for the new collection. Defaults to authority
leaf_owner: Pubkey§leaf_delegate: Option<Pubkey>Defaults to leaf_owner
merkle_tree: Pubkey§core_collection: Option<Pubkey>§new_core_collection: Option<Pubkey>§mpl_core_cpi_signer: Pubkey§log_wrapper: Pubkey§compression_program: Pubkey§mpl_core_program: Pubkey§system_program: PubkeyImplementations§
Source§impl SetCollectionV2
impl SetCollectionV2
pub fn instruction(&self, args: SetCollectionV2InstructionArgs) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: SetCollectionV2InstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Auto Trait Implementations§
impl Freeze for SetCollectionV2
impl RefUnwindSafe for SetCollectionV2
impl Send for SetCollectionV2
impl Sync for SetCollectionV2
impl Unpin for SetCollectionV2
impl UnsafeUnpin for SetCollectionV2
impl UnwindSafe for SetCollectionV2
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