pub struct SwapOperationsPaginatedResponse {
pub data: Vec<SwapOperation>,
pub next: Option<Option<String>>,
}Fields§
§data: Vec<SwapOperation>The data of the current page
next: Option<Option<String>>The cursor to fetch the next page of results, if absent or null, there are no additional results.
Implementations§
Source§impl SwapOperationsPaginatedResponse
impl SwapOperationsPaginatedResponse
pub fn new(data: Vec<SwapOperation>) -> SwapOperationsPaginatedResponse
Trait Implementations§
Source§impl Clone for SwapOperationsPaginatedResponse
impl Clone for SwapOperationsPaginatedResponse
Source§fn clone(&self) -> SwapOperationsPaginatedResponse
fn clone(&self) -> SwapOperationsPaginatedResponse
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 Default for SwapOperationsPaginatedResponse
impl Default for SwapOperationsPaginatedResponse
Source§fn default() -> SwapOperationsPaginatedResponse
fn default() -> SwapOperationsPaginatedResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SwapOperationsPaginatedResponse
impl<'de> Deserialize<'de> for SwapOperationsPaginatedResponse
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 PartialEq for SwapOperationsPaginatedResponse
impl PartialEq for SwapOperationsPaginatedResponse
Source§fn eq(&self, other: &SwapOperationsPaginatedResponse) -> bool
fn eq(&self, other: &SwapOperationsPaginatedResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SwapOperationsPaginatedResponse
Auto Trait Implementations§
impl Freeze for SwapOperationsPaginatedResponse
impl RefUnwindSafe for SwapOperationsPaginatedResponse
impl Send for SwapOperationsPaginatedResponse
impl Sync for SwapOperationsPaginatedResponse
impl Unpin for SwapOperationsPaginatedResponse
impl UnwindSafe for SwapOperationsPaginatedResponse
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