pub enum RowsKeyword {
Row,
Rows,
}Expand description
The ROW/ROWS synonym pair, spelled the way the human reading the SQL
expects.
The two spellings mean the same thing everywhere the grammar offers them —
OFFSET n { ROW | ROWS } and FETCH { FIRST | NEXT } n { ROW | ROWS } — but
unlike a grammar default such as SELECT ALL, writing one is not writing
nothing: the keyword shows up whenever generated SQL is read or diffed against
a hand-written query, so both spellings are representable.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RowsKeyword
impl Clone for RowsKeyword
Source§fn clone(&self) -> RowsKeyword
fn clone(&self) -> RowsKeyword
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RowsKeyword
Source§impl Debug for RowsKeyword
impl Debug for RowsKeyword
Source§impl Default for RowsKeyword
impl Default for RowsKeyword
Source§fn default() -> RowsKeyword
fn default() -> RowsKeyword
Returns the “default value” for a type. Read more
impl Eq for RowsKeyword
Source§impl PartialEq for RowsKeyword
impl PartialEq for RowsKeyword
impl StructuralPartialEq for RowsKeyword
Auto Trait Implementations§
impl Freeze for RowsKeyword
impl RefUnwindSafe for RowsKeyword
impl Send for RowsKeyword
impl Sync for RowsKeyword
impl Unpin for RowsKeyword
impl UnsafeUnpin for RowsKeyword
impl UnwindSafe for RowsKeyword
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