Struct partiql_logical::LimitOffset
source · pub struct LimitOffset {
pub limit: Option<ValueExpr>,
pub offset: Option<ValueExpr>,
}
Expand description
LimitOffset
represents a possible limit and/or offset operator, e.g. LIMIT 10 OFFSET 5
in SELECT a FROM t LIMIT 10 OFFSET 5
.
Fields§
§limit: Option<ValueExpr>
§offset: Option<ValueExpr>
Trait Implementations§
source§impl Clone for LimitOffset
impl Clone for LimitOffset
source§fn clone(&self) -> LimitOffset
fn clone(&self) -> LimitOffset
Returns a copy 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<LimitOffset> for LimitOffset
impl PartialEq<LimitOffset> for LimitOffset
source§fn eq(&self, other: &LimitOffset) -> bool
fn eq(&self, other: &LimitOffset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for LimitOffset
impl StructuralEq for LimitOffset
impl StructuralPartialEq for LimitOffset
Auto Trait Implementations§
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