pub struct TopTradersPage {
pub data: Vec<TopTradersDto>,
pub end_cursor: Option<String>,
pub has_next: bool,
pub has_prev: bool,
pub start_cursor: Option<String>,
pub total: Option<f64>,
}Expand description
TopTradersPage
JSON schema
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"description": "DTO.TRADE.TOP_TRADERS.PAGE.DATA",
"type": "array",
"items": {
"$ref": "#/components/schemas/TopTradersDTO"
}
},
"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<TopTradersDto>DTO.TRADE.TOP_TRADERS.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§
Source§impl TopTradersPage
impl TopTradersPage
pub fn builder() -> TopTradersPage
Trait Implementations§
Source§impl Clone for TopTradersPage
impl Clone for TopTradersPage
Source§fn clone(&self) -> TopTradersPage
fn clone(&self) -> TopTradersPage
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 TopTradersPage
impl Debug for TopTradersPage
Source§impl<'de> Deserialize<'de> for TopTradersPage
impl<'de> Deserialize<'de> for TopTradersPage
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<&TopTradersPage> for TopTradersPage
impl From<&TopTradersPage> for TopTradersPage
Source§fn from(value: &TopTradersPage) -> Self
fn from(value: &TopTradersPage) -> Self
Converts to this type from the input type.
Source§impl From<TopTradersPage> for TopTradersPage
impl From<TopTradersPage> for TopTradersPage
Source§fn from(value: TopTradersPage) -> Self
fn from(value: TopTradersPage) -> Self
Converts to this type from the input type.
Source§impl Serialize for TopTradersPage
impl Serialize for TopTradersPage
Source§impl TryFrom<TopTradersPage> for TopTradersPage
impl TryFrom<TopTradersPage> for TopTradersPage
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TopTradersPage) -> Result<Self, ConversionError>
fn try_from(value: TopTradersPage) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for TopTradersPage
impl RefUnwindSafe for TopTradersPage
impl Send for TopTradersPage
impl Sync for TopTradersPage
impl Unpin for TopTradersPage
impl UnwindSafe for TopTradersPage
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