pub struct NftHistoryTransactionsResponse {
pub list: Vec<NftHistoryTransactionsResponseListItem>,
pub total: i32,
}
Expand description
NftHistoryTransactionsResponse
JSON schema
{
"type": "object",
"required": [
"list",
"total"
],
"properties": {
"list": {
"type": "array",
"items": {
"type": "object",
"required": [
"orderNo",
"tokens",
"tradeAmount",
"tradeCurrency",
"tradeTime"
],
"properties": {
"orderNo": {
"description": "0: purchase order, 1: sell order, 2: royalty income, 3: primary market order, 4: mint fee",
"examples": [
"1_470502070600699904"
],
"type": "string"
},
"tokens": {
"type": "array",
"items": {
"type": "object",
"required": [
"contractAddress",
"network",
"tokenId"
],
"properties": {
"contractAddress": {
"examples": [
"MYSTERY_BOX0000087"
],
"type": "string"
},
"network": {
"examples": [
"BSC"
],
"type": "string"
},
"tokenId": {
"examples": [
"216000000496"
],
"type": "string"
}
}
}
},
"tradeAmount": {
"examples": [
"19.60000000"
],
"type": "string"
},
"tradeCurrency": {
"examples": [
"BNB"
],
"type": "string"
},
"tradeTime": {
"examples": [
1626941236000
],
"type": "integer",
"format": "int64"
}
}
}
},
"total": {
"examples": [
1
],
"type": "integer",
"format": "int32"
}
}
}
Fields§
§list: Vec<NftHistoryTransactionsResponseListItem>
§total: i32
Trait Implementations§
Source§impl Clone for NftHistoryTransactionsResponse
impl Clone for NftHistoryTransactionsResponse
Source§fn clone(&self) -> NftHistoryTransactionsResponse
fn clone(&self) -> NftHistoryTransactionsResponse
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<'de> Deserialize<'de> for NftHistoryTransactionsResponse
impl<'de> Deserialize<'de> for NftHistoryTransactionsResponse
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<&NftHistoryTransactionsResponse> for NftHistoryTransactionsResponse
impl From<&NftHistoryTransactionsResponse> for NftHistoryTransactionsResponse
Source§fn from(value: &NftHistoryTransactionsResponse) -> Self
fn from(value: &NftHistoryTransactionsResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NftHistoryTransactionsResponse
impl RefUnwindSafe for NftHistoryTransactionsResponse
impl Send for NftHistoryTransactionsResponse
impl Sync for NftHistoryTransactionsResponse
impl Unpin for NftHistoryTransactionsResponse
impl UnwindSafe for NftHistoryTransactionsResponse
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