pub struct LimitOffset {
pub limit: Expr,
pub offset: Option<Expr>,
}Expand description
Traditional SQL LIMIT … OFFSET … parameters.
Fields§
§limit: ExprThe maximum number of rows to return.
offset: Option<Expr>Optional count-based offset (skip this many rows).
Trait Implementations§
Source§impl Clone for LimitOffset
impl Clone for LimitOffset
Source§fn clone(&self) -> LimitOffset
fn clone(&self) -> LimitOffset
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 LimitOffset
impl Debug for LimitOffset
Source§impl PartialEq for LimitOffset
impl PartialEq for LimitOffset
impl StructuralPartialEq for LimitOffset
Auto Trait Implementations§
impl Freeze for LimitOffset
impl RefUnwindSafe for LimitOffset
impl Send for LimitOffset
impl Sync for LimitOffset
impl Unpin for LimitOffset
impl UnwindSafe for LimitOffset
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