pub struct TradePage {
pub data: Vec<TradeDetailDto>,
pub end_cursor: Option<String>,
pub has_next: bool,
pub has_prev: bool,
pub start_cursor: Option<String>,
pub total: Option<f64>,
}Expand description
TradePage
JSON schema
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"description": "DTO.TRADE.PAGE.DATA",
"type": "array",
"items": {
"$ref": "#/components/schemas/TradeDetailDTO"
}
},
"endCursor": {
"description": "DTO.PAGE.END_CURSOR",
"type": "string"
},
"hasNext": {
"description": "DTO.PAGE.HAS_NEXT",
"default": false,
"type": "boolean"
},
"hasPrev": {
"description": "DTO.PAGE.HAS_PREV",
"default": false,
"type": "boolean"
},
"startCursor": {
"description": "DTO.PAGE.START_CURSOR",
"type": "string"
},
"total": {
"description": "DTO.PAGE.TOTAL",
"type": "number"
}
}
}Fields§
§data: Vec<TradeDetailDto>DTO.TRADE.PAGE.DATA
end_cursor: Option<String>DTO.PAGE.END_CURSOR
has_next: boolDTO.PAGE.HAS_NEXT
has_prev: boolDTO.PAGE.HAS_PREV
start_cursor: Option<String>DTO.PAGE.START_CURSOR
total: Option<f64>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TradePage
impl<'de> Deserialize<'de> for TradePage
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 TradePage
impl RefUnwindSafe for TradePage
impl Send for TradePage
impl Sync for TradePage
impl Unpin for TradePage
impl UnwindSafe for TradePage
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