pub enum PagerState {
Initial,
More(PagerContinuation),
}Expand description
Represents the state of a Pager or PageIterator.
Variants§
Initial
The pager should fetch the initial page.
More(PagerContinuation)
The pager should fetch a subsequent page using the next link/continuation token C.
Trait Implementations§
Source§impl Clone for PagerState
impl Clone for PagerState
Source§fn clone(&self) -> PagerState
fn clone(&self) -> PagerState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PagerState
impl Debug for PagerState
Source§impl Default for PagerState
impl Default for PagerState
Source§fn default() -> PagerState
fn default() -> PagerState
Returns the “default value” for a type. Read more
impl Eq for PagerState
Source§impl PartialEq for PagerState
impl PartialEq for PagerState
impl StructuralPartialEq for PagerState
Auto Trait Implementations§
impl Freeze for PagerState
impl RefUnwindSafe for PagerState
impl Send for PagerState
impl Sync for PagerState
impl Unpin for PagerState
impl UnsafeUnpin for PagerState
impl UnwindSafe for PagerState
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