pub struct NftInfoResponse<T> {
pub model_id: String,
pub token_uri: String,
pub size: String,
pub extension: T,
}Fields§
§model_id: String§token_uri: String§size: String§extension: TTrait Implementations§
Source§impl<T: Clone> Clone for NftInfoResponse<T>
impl<T: Clone> Clone for NftInfoResponse<T>
Source§fn clone(&self) -> NftInfoResponse<T>
fn clone(&self) -> NftInfoResponse<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for NftInfoResponse<T>
impl<T: Debug> Debug for NftInfoResponse<T>
Source§impl<'de, T> Deserialize<'de> for NftInfoResponse<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for NftInfoResponse<T>where
T: Deserialize<'de>,
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<T: JsonSchema> JsonSchema for NftInfoResponse<T>
impl<T: JsonSchema> JsonSchema for NftInfoResponse<T>
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(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &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> PartialEq for NftInfoResponse<T>
impl<T: PartialEq> PartialEq for NftInfoResponse<T>
Source§impl<T> Serialize for NftInfoResponse<T>where
T: Serialize,
impl<T> Serialize for NftInfoResponse<T>where
T: Serialize,
impl<T: PartialEq> StructuralPartialEq for NftInfoResponse<T>
Auto Trait Implementations§
impl<T> Freeze for NftInfoResponse<T>where
T: Freeze,
impl<T> RefUnwindSafe for NftInfoResponse<T>where
T: RefUnwindSafe,
impl<T> Send for NftInfoResponse<T>where
T: Send,
impl<T> Sync for NftInfoResponse<T>where
T: Sync,
impl<T> Unpin for NftInfoResponse<T>where
T: Unpin,
impl<T> UnsafeUnpin for NftInfoResponse<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for NftInfoResponse<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