pub struct CursorState {
pub next: Option<String>,
pub prev: Option<String>,
}Expand description
Returned by paginated endpoints and used to navigate between pages.
Fields§
§next: Option<String>§prev: Option<String>Trait Implementations§
Source§impl Clone for CursorState
impl Clone for CursorState
Source§fn clone(&self) -> CursorState
fn clone(&self) -> CursorState
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 CursorState
impl Debug for CursorState
Source§impl From<Pagination> for CursorState
impl From<Pagination> for CursorState
Source§fn from(value: Pagination) -> Self
fn from(value: Pagination) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CursorState
impl RefUnwindSafe for CursorState
impl Send for CursorState
impl Sync for CursorState
impl Unpin for CursorState
impl UnwindSafe for CursorState
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