pub struct GetUserTradesResponse {
pub page: Option<String>,
pub page_size: Option<String>,
pub total: Option<String>,
pub total_pages: Option<String>,
pub trades: Option<Vec<UserTrade>>,
}Expand description
GetUserTradesResponse
JSON schema
{
"type": "object",
"properties": {
"page": {
"description": "Current page number",
"type": [
"string",
"null"
]
},
"page_size": {
"description": "Items per page",
"type": [
"string",
"null"
]
},
"total": {
"description": "Total number of trades",
"type": [
"string",
"null"
]
},
"total_pages": {
"description": "Total number of pages",
"type": [
"string",
"null"
]
},
"trades": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/UserTrade"
}
}
}
}Fields§
§page: Option<String>Current page number
page_size: Option<String>Items per page
total: Option<String>Total number of trades
total_pages: Option<String>Total number of pages
trades: Option<Vec<UserTrade>>Trait Implementations§
Source§impl Clone for GetUserTradesResponse
impl Clone for GetUserTradesResponse
Source§fn clone(&self) -> GetUserTradesResponse
fn clone(&self) -> GetUserTradesResponse
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 Debug for GetUserTradesResponse
impl Debug for GetUserTradesResponse
Source§impl Default for GetUserTradesResponse
impl Default for GetUserTradesResponse
Source§impl<'de> Deserialize<'de> for GetUserTradesResponse
impl<'de> Deserialize<'de> for GetUserTradesResponse
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 GetUserTradesResponse
impl RefUnwindSafe for GetUserTradesResponse
impl Send for GetUserTradesResponse
impl Sync for GetUserTradesResponse
impl Unpin for GetUserTradesResponse
impl UnsafeUnpin for GetUserTradesResponse
impl UnwindSafe for GetUserTradesResponse
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