pub struct DexPage {
pub data: Vec<DexDto>,
pub end_cursor: Option<String>,
pub has_next: bool,
pub has_prev: bool,
pub start_cursor: Option<String>,
pub total: Option<f64>,
}Expand description
DexPage
JSON schema
{
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"description": "DTO.DEX.PAGE.DATA",
"type": "array",
"items": {
"$ref": "#/components/schemas/DexDTO"
}
},
"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<DexDto>DTO.DEX.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 DexPage
impl<'de> Deserialize<'de> for DexPage
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 DexPage
impl RefUnwindSafe for DexPage
impl Send for DexPage
impl Sync for DexPage
impl Unpin for DexPage
impl UnwindSafe for DexPage
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