Struct mpl_token_metadata::state::Edition
source · [−]Expand description
All Editions should never have a supply greater than 1. To enforce this, a transfer mint authority instruction will happen when a normal token is turned into an Edition, and in order for a Metadata update authority to do this transaction they will also need to sign the transaction as the Mint authority.
Fields
key: Key
parent: Pubkey
Points at MasterEdition struct
edition: u64
Starting at 0 for master record, this is incremented for each edition minted.
Implementations
Trait Implementations
impl BorshDeserialize for Edition where
Key: BorshDeserialize,
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
impl BorshDeserialize for Edition where
Key: BorshDeserialize,
Pubkey: BorshDeserialize,
u64: BorshDeserialize,
impl BorshSerialize for Edition where
Key: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
impl BorshSerialize for Edition where
Key: BorshSerialize,
Pubkey: BorshSerialize,
u64: BorshSerialize,
Auto Trait Implementations
impl RefUnwindSafe for Edition
impl UnwindSafe for Edition
Blanket Implementations
pub default fn example() -> T
Mutably borrows from an owned value. Read more