Skip to main content

SetCollectionV2

Struct SetCollectionV2 

Source
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: Pubkey§authority: Option<Pubkey>

If 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

§new_collection_authority: Option<Pubkey>

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: Pubkey

Implementations§

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V