Enum sqlparser::ast::OffsetRows
source · pub enum OffsetRows {
None,
Row,
Rows,
}
Expand description
Stores the keyword after OFFSET <number>
Variants§
Trait Implementations§
source§impl Clone for OffsetRows
impl Clone for OffsetRows
source§fn clone(&self) -> OffsetRows
fn clone(&self) -> OffsetRows
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 OffsetRows
impl Debug for OffsetRows
source§impl Display for OffsetRows
impl Display for OffsetRows
source§impl Hash for OffsetRows
impl Hash for OffsetRows
source§impl Ord for OffsetRows
impl Ord for OffsetRows
source§fn cmp(&self, other: &OffsetRows) -> Ordering
fn cmp(&self, other: &OffsetRows) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for OffsetRows
impl PartialEq for OffsetRows
source§fn eq(&self, other: &OffsetRows) -> bool
fn eq(&self, other: &OffsetRows) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OffsetRows
impl PartialOrd for OffsetRows
source§fn partial_cmp(&self, other: &OffsetRows) -> Option<Ordering>
fn partial_cmp(&self, other: &OffsetRows) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for OffsetRows
impl Eq for OffsetRows
impl StructuralEq for OffsetRows
impl StructuralPartialEq for OffsetRows
Auto Trait Implementations§
impl RefUnwindSafe for OffsetRows
impl Send for OffsetRows
impl Sync for OffsetRows
impl Unpin for OffsetRows
impl UnwindSafe for OffsetRows
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