pub enum SqlClauseKind {
Select,
From,
Where,
GroupBy,
Having,
OrderBy,
Limit,
Offset,
Returning,
}Expand description
Common SQL clause labels.
Variants§
Implementations§
Source§impl SqlClauseKind
impl SqlClauseKind
Sourcepub const fn comes_before(self, other: Self) -> bool
pub const fn comes_before(self, other: Self) -> bool
Returns whether self commonly appears before other.
Sourcepub const fn comes_after(self, other: Self) -> bool
pub const fn comes_after(self, other: Self) -> bool
Returns whether self commonly appears after other.
Trait Implementations§
Source§impl Clone for SqlClauseKind
impl Clone for SqlClauseKind
Source§fn clone(&self) -> SqlClauseKind
fn clone(&self) -> SqlClauseKind
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 moreSource§impl Debug for SqlClauseKind
impl Debug for SqlClauseKind
Source§impl Default for SqlClauseKind
impl Default for SqlClauseKind
Source§fn default() -> SqlClauseKind
fn default() -> SqlClauseKind
Returns the “default value” for a type. Read more
Source§impl Display for SqlClauseKind
impl Display for SqlClauseKind
Source§impl FromStr for SqlClauseKind
impl FromStr for SqlClauseKind
Source§impl Hash for SqlClauseKind
impl Hash for SqlClauseKind
Source§impl Ord for SqlClauseKind
impl Ord for SqlClauseKind
Source§fn cmp(&self, other: &SqlClauseKind) -> Ordering
fn cmp(&self, other: &SqlClauseKind) -> Ordering
1.21.0 (const: unstable) · 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 SqlClauseKind
impl PartialEq for SqlClauseKind
Source§fn eq(&self, other: &SqlClauseKind) -> bool
fn eq(&self, other: &SqlClauseKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SqlClauseKind
impl PartialOrd for SqlClauseKind
impl Copy for SqlClauseKind
impl Eq for SqlClauseKind
impl StructuralPartialEq for SqlClauseKind
Auto Trait Implementations§
impl Freeze for SqlClauseKind
impl RefUnwindSafe for SqlClauseKind
impl Send for SqlClauseKind
impl Sync for SqlClauseKind
impl Unpin for SqlClauseKind
impl UnsafeUnpin for SqlClauseKind
impl UnwindSafe for SqlClauseKind
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