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