pub struct NftUserGetAssetResponse {
pub list: Vec<NftUserGetAssetResponseListItem>,
pub total: i32,
}
Expand description
NftUserGetAssetResponse
JSON schema
{
"type": "object",
"required": [
"list",
"total"
],
"properties": {
"list": {
"type": "array",
"items": {
"type": "object",
"required": [
"contractAddress",
"network",
"tokenId"
],
"properties": {
"contractAddress": {
"examples": [
"REGULAR11234567891779"
],
"type": "string"
},
"network": {
"examples": [
"BSC"
],
"type": "string"
},
"tokenId": {
"examples": [
"100900000017"
],
"type": "string"
}
}
}
},
"total": {
"examples": [
347
],
"type": "integer",
"format": "int32"
}
}
}
Fields§
§list: Vec<NftUserGetAssetResponseListItem>
§total: i32
Trait Implementations§
Source§impl Clone for NftUserGetAssetResponse
impl Clone for NftUserGetAssetResponse
Source§fn clone(&self) -> NftUserGetAssetResponse
fn clone(&self) -> NftUserGetAssetResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NftUserGetAssetResponse
impl Debug for NftUserGetAssetResponse
Source§impl<'de> Deserialize<'de> for NftUserGetAssetResponse
impl<'de> Deserialize<'de> for NftUserGetAssetResponse
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 From<&NftUserGetAssetResponse> for NftUserGetAssetResponse
impl From<&NftUserGetAssetResponse> for NftUserGetAssetResponse
Source§fn from(value: &NftUserGetAssetResponse) -> Self
fn from(value: &NftUserGetAssetResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NftUserGetAssetResponse
impl RefUnwindSafe for NftUserGetAssetResponse
impl Send for NftUserGetAssetResponse
impl Sync for NftUserGetAssetResponse
impl Unpin for NftUserGetAssetResponse
impl UnwindSafe for NftUserGetAssetResponse
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