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<OffsetRows> for OffsetRows
impl PartialEq<OffsetRows> for OffsetRows
source§fn eq(&self, other: &OffsetRows) -> bool
fn eq(&self, other: &OffsetRows) -> bool
source§impl PartialOrd<OffsetRows> for OffsetRows
impl PartialOrd<OffsetRows> 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 more