pub struct PaginatedResponseUserTrade {
pub data: Vec<PaginatedResponseUserTradeDataItem>,
pub next_cursor: Option<String>,
}Expand description
paginated response wrapper with optional cursor for next page
JSON schema
{
"description": "paginated response wrapper with optional cursor for next page",
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"address",
"buyer",
"commission",
"commissionAsset",
"id",
"maker",
"orderId",
"positionSide",
"price",
"qty",
"quoteQty",
"realizedPnl",
"side",
"symbol",
"time",
"txHash"
],
"properties": {
"address": {
"type": "string"
},
"buyer": {
"type": "boolean"
},
"commission": {
"type": "string",
"format": "decimal"
},
"commissionAsset": {
"type": "string"
},
"id": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"maker": {
"type": "boolean"
},
"orderId": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"positionSide": {
"type": "string"
},
"price": {
"type": "string",
"format": "decimal"
},
"qty": {
"type": "string",
"format": "decimal"
},
"quoteQty": {
"type": "string",
"format": "decimal"
},
"realizedPnl": {
"type": "string",
"format": "decimal"
},
"side": {
"type": "string"
},
"symbol": {
"type": "string"
},
"time": {
"type": "integer",
"format": "int64"
},
"txHash": {
"type": "string"
}
}
}
},
"nextCursor": {
"type": [
"string",
"null"
]
}
}
}Fields§
§data: Vec<PaginatedResponseUserTradeDataItem>§next_cursor: Option<String>Trait Implementations§
Source§impl Clone for PaginatedResponseUserTrade
impl Clone for PaginatedResponseUserTrade
Source§fn clone(&self) -> PaginatedResponseUserTrade
fn clone(&self) -> PaginatedResponseUserTrade
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 PaginatedResponseUserTrade
impl Debug for PaginatedResponseUserTrade
Source§impl<'de> Deserialize<'de> for PaginatedResponseUserTrade
impl<'de> Deserialize<'de> for PaginatedResponseUserTrade
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
Auto Trait Implementations§
impl Freeze for PaginatedResponseUserTrade
impl RefUnwindSafe for PaginatedResponseUserTrade
impl Send for PaginatedResponseUserTrade
impl Sync for PaginatedResponseUserTrade
impl Unpin for PaginatedResponseUserTrade
impl UnsafeUnpin for PaginatedResponseUserTrade
impl UnwindSafe for PaginatedResponseUserTrade
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