Struct archid_token::MintMsg
source · pub struct MintMsg<T> {
pub token_id: String,
pub owner: String,
pub token_uri: Option<String>,
pub extension: T,
}Fields§
§token_id: StringUnique ID of the NFT
owner: StringThe owner of the newly minter NFT
token_uri: Option<String>Universal resource identifier for this NFT Should point to a JSON file that conforms to the ERC721 Metadata JSON Schema
extension: TAny custom extension used by this contract
Trait Implementations§
source§impl<'de, T> Deserialize<'de> for MintMsg<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for MintMsg<T>where
T: Deserialize<'de>,
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<MintMsg<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<MintMsg<T>, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> JsonSchema for MintMsg<T>where
T: JsonSchema,
impl<T> JsonSchema for MintMsg<T>where
T: JsonSchema,
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<T> PartialEq for MintMsg<T>where
T: PartialEq,
impl<T> PartialEq for MintMsg<T>where
T: PartialEq,
source§impl<T> Serialize for MintMsg<T>where
T: Serialize,
impl<T> Serialize for MintMsg<T>where
T: Serialize,
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<T> Eq for MintMsg<T>where
T: Eq,
impl<T> StructuralEq for MintMsg<T>
impl<T> StructuralPartialEq for MintMsg<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for MintMsg<T>where
T: RefUnwindSafe,
impl<T> Send for MintMsg<T>where
T: Send,
impl<T> Sync for MintMsg<T>where
T: Sync,
impl<T> Unpin for MintMsg<T>where
T: Unpin,
impl<T> UnwindSafe for MintMsg<T>where
T: UnwindSafe,
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