pub struct MintRunInfo {
pub collection_creator: Option<HumanAddr>,
pub token_creator: Option<HumanAddr>,
pub time_of_minting: Option<u64>,
pub mint_run: Option<u32>,
pub serial_number: Option<u32>,
pub quantity_minted_this_run: Option<u32>,
}Expand description
information about the minting of the NFT
Fields§
§collection_creator: Option<HumanAddr>optional address of the SNIP-721 contract creator
token_creator: Option<HumanAddr>optional address of this NFT’s creator
time_of_minting: Option<u64>optional time of minting (in seconds since 01/01/1970)
mint_run: Option<u32>optional number of the mint run this token was minted in. A mint run represents a batch of NFTs released at the same time. So if a creator decided to make 100 copies of an NFT, they would all be part of mint run number 1. If they sold quickly, and the creator wanted to rerelease that NFT, he could make 100 more copies which would all be part of mint run number 2.
serial_number: Option<u32>optional serial number in this mint run. This is used to serialize identical NFTs
quantity_minted_this_run: Option<u32>optional total number of NFTs minted on this run. This is used to represent that this token is number m of n
Trait Implementations§
Source§impl Clone for MintRunInfo
impl Clone for MintRunInfo
Source§impl Debug for MintRunInfo
impl Debug for MintRunInfo
Source§impl<'de> Deserialize<'de> for MintRunInfo
impl<'de> Deserialize<'de> for MintRunInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for MintRunInfo
impl JsonSchema for MintRunInfo
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn json_schema(gen: &mut SchemaGenerator) -> Schema
fn json_schema(gen: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for MintRunInfo
impl PartialEq for MintRunInfo
Source§impl Serialize for MintRunInfo
impl Serialize for MintRunInfo
impl StructuralPartialEq for MintRunInfo
Auto Trait Implementations§
impl Freeze for MintRunInfo
impl RefUnwindSafe for MintRunInfo
impl Send for MintRunInfo
impl Sync for MintRunInfo
impl Unpin for MintRunInfo
impl UnsafeUnpin for MintRunInfo
impl UnwindSafe for MintRunInfo
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