pub struct PaginatedResponseUserDeposit {
pub data: Vec<PaginatedResponseUserDepositDataItem>,
pub next_cursor: Option<String>,
}Expand description
paginated response wrapper with optional cursor for next page
JSON schema
{
"description": "paginated response wrapper with optional cursor for next page",
"type": "object",
"required": [
"data"
],
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"amount",
"amountNotional",
"asset",
"assetId",
"eventNumber",
"time",
"txHash"
],
"properties": {
"amount": {
"type": "string",
"format": "decimal"
},
"amountNotional": {
"type": "string",
"format": "decimal"
},
"asset": {
"type": "string"
},
"assetId": {
"type": "integer",
"format": "uint16",
"minimum": 0.0
},
"eventNumber": {
"type": "integer",
"format": "uint64",
"minimum": 0.0
},
"time": {
"type": "integer",
"format": "int64"
},
"txHash": {
"type": "string"
}
}
}
},
"nextCursor": {
"type": [
"string",
"null"
]
}
}
}Fields§
§data: Vec<PaginatedResponseUserDepositDataItem>§next_cursor: Option<String>Trait Implementations§
Source§impl Clone for PaginatedResponseUserDeposit
impl Clone for PaginatedResponseUserDeposit
Source§fn clone(&self) -> PaginatedResponseUserDeposit
fn clone(&self) -> PaginatedResponseUserDeposit
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 PaginatedResponseUserDeposit
impl Debug for PaginatedResponseUserDeposit
Source§impl<'de> Deserialize<'de> for PaginatedResponseUserDeposit
impl<'de> Deserialize<'de> for PaginatedResponseUserDeposit
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 PaginatedResponseUserDeposit
impl RefUnwindSafe for PaginatedResponseUserDeposit
impl Send for PaginatedResponseUserDeposit
impl Sync for PaginatedResponseUserDeposit
impl Unpin for PaginatedResponseUserDeposit
impl UnsafeUnpin for PaginatedResponseUserDeposit
impl UnwindSafe for PaginatedResponseUserDeposit
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