pub struct CursorBuilder<P = (), S = Initial> { /* private fields */ }Implementations§
Source§impl CursorBuilder<(), Initial>
impl CursorBuilder<(), Initial>
pub fn new() -> Self
pub fn build(self) -> CursorParams
Source§impl<P> CursorBuilder<P, Initial>
impl<P> CursorBuilder<P, Initial>
pub fn with_parent(parent: P) -> Self
pub fn first_page(self) -> CursorBuilder<P, FirstPage>
pub fn after(self, value: impl Into<FilterValue>) -> CursorBuilder<P, After>
pub fn before(self, value: impl Into<FilterValue>) -> CursorBuilder<P, Before>
pub fn next_cursor<T: CursorSecureExtract>( self, token: impl Into<String>, ) -> CursorBuilder<P, After>
pub fn prev_cursor<T: CursorSecureExtract>( self, token: impl Into<String>, ) -> CursorBuilder<P, Before>
Source§impl<P> CursorBuilder<P, FirstPage>
impl<P> CursorBuilder<P, FirstPage>
Source§impl<P> CursorBuilder<P, After>
impl<P> CursorBuilder<P, After>
Source§impl<P> CursorBuilder<P, Before>
impl<P> CursorBuilder<P, Before>
Trait Implementations§
Source§impl<S> Debug for CursorBuilder<(), S>
impl<S> Debug for CursorBuilder<(), S>
Source§impl Default for CursorBuilder<(), Initial>
impl Default for CursorBuilder<(), Initial>
Source§impl IntoParams for CursorBuilder<(), Initial>
impl IntoParams for CursorBuilder<(), Initial>
fn into_params(self) -> Params
Source§impl IntoParams for CursorBuilder<(), After>
impl IntoParams for CursorBuilder<(), After>
fn into_params(self) -> Params
Source§impl IntoParams for CursorBuilder<(), Before>
impl IntoParams for CursorBuilder<(), Before>
fn into_params(self) -> Params
Source§impl IntoParams for CursorBuilder<(), FirstPage>
impl IntoParams for CursorBuilder<(), FirstPage>
fn into_params(self) -> Params
Auto Trait Implementations§
impl<P, S> Freeze for CursorBuilder<P, S>where
P: Freeze,
impl<P, S> RefUnwindSafe for CursorBuilder<P, S>where
P: RefUnwindSafe,
S: RefUnwindSafe,
impl<P, S> Send for CursorBuilder<P, S>
impl<P, S> Sync for CursorBuilder<P, S>
impl<P, S> Unpin for CursorBuilder<P, S>
impl<P, S> UnwindSafe for CursorBuilder<P, S>where
P: UnwindSafe,
S: 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