Struct cw721::NftInfoResponse [−][src]
pub struct NftInfoResponse {
pub name: String,
pub description: String,
pub image: Option<String>,
}Fields
name: StringIdentifies the asset to which this NFT represents
description: StringDescribes the asset to which this NFT represents
image: Option<String>“A URI pointing to a resource with mime type image/* representing the asset to which this NFT represents. Consider making any images at a width between 320 and 1080 pixels and aspect ratio between 1.91:1 and 4:5 inclusive. TODO: Use https://docs.rs/url_serde for type-safety
Trait Implementations
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
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for NftInfoResponse
impl Send for NftInfoResponse
impl Sync for NftInfoResponse
impl Unpin for NftInfoResponse
impl UnwindSafe for NftInfoResponse
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self