pub struct LimitClause {
pub limit: u64,
pub offset: Option<u64>,
}
Expand description
Representation of a limit / offset clause in SQL.
Fields§
§limit: u64
Limit to set to
offset: Option<u64>
Optional offset to append.
Trait Implementations§
Source§impl Clone for LimitClause
impl Clone for LimitClause
Source§fn clone(&self) -> LimitClause
fn clone(&self) -> LimitClause
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 LimitClause
impl Debug for LimitClause
impl Copy for LimitClause
Auto Trait Implementations§
impl Freeze for LimitClause
impl RefUnwindSafe for LimitClause
impl Send for LimitClause
impl Sync for LimitClause
impl Unpin for LimitClause
impl UnwindSafe for LimitClause
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