[][src]Struct cw721::NftInfoResponse

pub struct NftInfoResponse {
    pub name: String,
    pub description: String,
    pub image: Option<String>,
}

Fields

name: String

Identifies the asset to which this NFT represents

description: String

Describes 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

impl Clone for NftInfoResponse[src]

impl Debug for NftInfoResponse[src]

impl<'de> Deserialize<'de> for NftInfoResponse[src]

impl JsonSchema for NftInfoResponse[src]

impl PartialEq<NftInfoResponse> for NftInfoResponse[src]

impl Serialize for NftInfoResponse[src]

impl StructuralPartialEq for NftInfoResponse[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.