pub struct PageRequest<C> {
pub limit: EffectiveLimit,
pub cursor: Option<C>,
}Expand description
A typed page request for internal runtime and core methods.
Fields§
§limit: EffectiveLimitEnforced page size.
cursor: Option<C>Optional decoded endpoint cursor.
Trait Implementations§
Source§impl<C: Clone> Clone for PageRequest<C>
impl<C: Clone> Clone for PageRequest<C>
Source§impl<C: Debug> Debug for PageRequest<C>
impl<C: Debug> Debug for PageRequest<C>
impl<C: Eq> Eq for PageRequest<C>
Source§impl<C: PartialEq> PartialEq for PageRequest<C>
impl<C: PartialEq> PartialEq for PageRequest<C>
impl<C: PartialEq> StructuralPartialEq for PageRequest<C>
Auto Trait Implementations§
impl<C> Freeze for PageRequest<C>
impl<C> RefUnwindSafe for PageRequest<C>where
Option<C>: RefUnwindSafe,
impl<C> Send for PageRequest<C>
impl<C> Sync for PageRequest<C>
impl<C> Unpin for PageRequest<C>
impl<C> UnsafeUnpin for PageRequest<C>where
Option<C>: UnsafeUnpin,
impl<C> UnwindSafe for PageRequest<C>where
Option<C>: UnwindSafe,
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