Struct LimitCursor
pub struct LimitCursor {
pub page_size: Expr,
pub after: Option<Expr>,
}Expand description
Cursor-based pagination parameters.
page_size controls how many rows are returned per page. after is None
for the first page and Some(cursor) for subsequent pages.
Fields§
§page_size: ExprNumber of rows per page.
after: Option<Expr>Cursor value to resume after. None on the first page.
Trait Implementations§
§impl Clone for LimitCursor
impl Clone for LimitCursor
§fn clone(&self) -> LimitCursor
fn clone(&self) -> LimitCursor
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 more§impl Debug for LimitCursor
impl Debug for LimitCursor
§impl PartialEq for LimitCursor
impl PartialEq for LimitCursor
impl StructuralPartialEq for LimitCursor
Auto Trait Implementations§
impl Freeze for LimitCursor
impl RefUnwindSafe for LimitCursor
impl Send for LimitCursor
impl Sync for LimitCursor
impl Unpin for LimitCursor
impl UnwindSafe for LimitCursor
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