pub struct ListTradingPairsResponse {
pub page: Option<u32>,
pub page_size: Option<u32>,
pub total: Option<u32>,
pub total_pages: Option<u32>,
pub trading_pairs: Option<Vec<TradingPairData>>,
}Expand description
Paginated list of trading pairs.
JSON schema
{
"description": "Paginated list of trading pairs.",
"type": "object",
"properties": {
"page": {
"description": "Current page number",
"examples": [
1
],
"type": [
"integer",
"null"
],
"format": "uint32"
},
"page_size": {
"description": "Items per page",
"examples": [
20
],
"type": [
"integer",
"null"
],
"format": "uint32"
},
"total": {
"description": "Total number of trading pairs",
"examples": [
50
],
"type": [
"integer",
"null"
],
"format": "uint32"
},
"total_pages": {
"description": "Total number of pages",
"examples": [
3
],
"type": [
"integer",
"null"
],
"format": "uint32"
},
"trading_pairs": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/TradingPairData"
}
}
}
}Fields§
§page: Option<u32>Current page number
page_size: Option<u32>Items per page
total: Option<u32>Total number of trading pairs
total_pages: Option<u32>Total number of pages
trading_pairs: Option<Vec<TradingPairData>>Trait Implementations§
Source§impl Clone for ListTradingPairsResponse
impl Clone for ListTradingPairsResponse
Source§fn clone(&self) -> ListTradingPairsResponse
fn clone(&self) -> ListTradingPairsResponse
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 ListTradingPairsResponse
impl Debug for ListTradingPairsResponse
Source§impl Default for ListTradingPairsResponse
impl Default for ListTradingPairsResponse
Source§impl<'de> Deserialize<'de> for ListTradingPairsResponse
impl<'de> Deserialize<'de> for ListTradingPairsResponse
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 ListTradingPairsResponse
impl RefUnwindSafe for ListTradingPairsResponse
impl Send for ListTradingPairsResponse
impl Sync for ListTradingPairsResponse
impl Unpin for ListTradingPairsResponse
impl UnsafeUnpin for ListTradingPairsResponse
impl UnwindSafe for ListTradingPairsResponse
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