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