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