pub struct PaginationCursorMeta {
pub next_cursor: Option<String>,
pub limit: Option<i32>,
}
Fields§
§next_cursor: Option<String>
Cursor for the next page.
limit: Option<i32>
Maximum number of results returned.
Implementations§
source§impl PaginationCursorMeta
impl PaginationCursorMeta
pub fn new() -> PaginationCursorMeta
Trait Implementations§
source§impl Clone for PaginationCursorMeta
impl Clone for PaginationCursorMeta
source§fn clone(&self) -> PaginationCursorMeta
fn clone(&self) -> PaginationCursorMeta
Returns a copy 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 PaginationCursorMeta
impl Debug for PaginationCursorMeta
source§impl Default for PaginationCursorMeta
impl Default for PaginationCursorMeta
source§fn default() -> PaginationCursorMeta
fn default() -> PaginationCursorMeta
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaginationCursorMeta
impl<'de> Deserialize<'de> for PaginationCursorMeta
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<PaginationCursorMeta> for PaginationCursorMeta
impl PartialEq<PaginationCursorMeta> for PaginationCursorMeta
source§fn eq(&self, other: &PaginationCursorMeta) -> bool
fn eq(&self, other: &PaginationCursorMeta) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for PaginationCursorMeta
impl Serialize for PaginationCursorMeta
impl StructuralPartialEq for PaginationCursorMeta
Auto Trait Implementations§
impl RefUnwindSafe for PaginationCursorMeta
impl Send for PaginationCursorMeta
impl Sync for PaginationCursorMeta
impl Unpin for PaginationCursorMeta
impl UnwindSafe for PaginationCursorMeta
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