Struct mpl_token_metadata::state::MasterEditionV2
source · #[repr(C)]pub struct MasterEditionV2 {
pub key: Key,
pub supply: u64,
pub max_supply: Option<u64>,
}
Fields§
§key: Key
§supply: u64
§max_supply: Option<u64>
Trait Implementations§
source§impl BorshDeserialize for MasterEditionV2where
Key: BorshDeserialize,
u64: BorshDeserialize,
Option<u64>: BorshDeserialize,
impl BorshDeserialize for MasterEditionV2where
Key: BorshDeserialize,
u64: BorshDeserialize,
Option<u64>: BorshDeserialize,
source§impl BorshSerialize for MasterEditionV2where
Key: BorshSerialize,
u64: BorshSerialize,
Option<u64>: BorshSerialize,
impl BorshSerialize for MasterEditionV2where
Key: BorshSerialize,
u64: BorshSerialize,
Option<u64>: BorshSerialize,
source§impl Clone for MasterEditionV2
impl Clone for MasterEditionV2
source§fn clone(&self) -> MasterEditionV2
fn clone(&self) -> MasterEditionV2
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MasterEditionV2
impl Debug for MasterEditionV2
source§impl Default for MasterEditionV2
impl Default for MasterEditionV2
source§impl MasterEdition for MasterEditionV2
impl MasterEdition for MasterEditionV2
source§impl PartialEq<MasterEditionV2> for MasterEditionV2
impl PartialEq<MasterEditionV2> for MasterEditionV2
source§fn eq(&self, other: &MasterEditionV2) -> bool
fn eq(&self, other: &MasterEditionV2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.