Struct secret_toolkit_snip721::handle::Mint
source · pub struct Mint {
pub token_id: Option<String>,
pub owner: Option<String>,
pub public_metadata: Option<Metadata>,
pub private_metadata: Option<Metadata>,
pub memo: Option<String>,
}
Expand description
token mint info used when doing a BatchMintNft
Fields§
§token_id: Option<String>
optional token id. if omitted, use current token index
owner: Option<String>
optional owner address. if omitted, owned by the message sender
public_metadata: Option<Metadata>
optional public metadata that can be seen by everyone
private_metadata: Option<Metadata>
optional private metadata that can only be seen by the owner and whitelist
memo: Option<String>
optional memo for the tx
Trait Implementations§
source§impl<'de> Deserialize<'de> for Mint
impl<'de> Deserialize<'de> for Mint
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 Mint
impl JsonSchema for Mint
source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. 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 Mint
impl PartialEq for Mint
impl Eq for Mint
impl StructuralEq for Mint
impl StructuralPartialEq for Mint
Auto Trait Implementations§
impl RefUnwindSafe for Mint
impl Send for Mint
impl Sync for Mint
impl Unpin for Mint
impl UnwindSafe for Mint
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