pub enum SqlKeyword {
Show 26 variants
Select,
Insert,
Update,
Delete,
Create,
Alter,
Drop,
Table,
View,
Index,
Where,
From,
Join,
Group,
Order,
Limit,
Offset,
Returning,
Primary,
Foreign,
Key,
Unique,
Not,
Null,
Check,
Default,
}Expand description
Common SQL keywords included by use-sql-keyword.
Variants§
Select
Insert
Update
Delete
Create
Alter
Drop
Table
View
Index
Where
From
Join
Group
Order
Limit
Offset
Returning
Primary
Foreign
Key
Unique
Not
Null
Check
Default
Implementations§
Source§impl SqlKeyword
impl SqlKeyword
Trait Implementations§
Source§impl Clone for SqlKeyword
impl Clone for SqlKeyword
Source§fn clone(&self) -> SqlKeyword
fn clone(&self) -> SqlKeyword
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 SqlKeyword
impl Debug for SqlKeyword
Source§impl Display for SqlKeyword
impl Display for SqlKeyword
Source§impl FromStr for SqlKeyword
impl FromStr for SqlKeyword
Source§impl Hash for SqlKeyword
impl Hash for SqlKeyword
Source§impl Ord for SqlKeyword
impl Ord for SqlKeyword
Source§fn cmp(&self, other: &SqlKeyword) -> Ordering
fn cmp(&self, other: &SqlKeyword) -> 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 SqlKeyword
impl PartialEq for SqlKeyword
Source§fn eq(&self, other: &SqlKeyword) -> bool
fn eq(&self, other: &SqlKeyword) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SqlKeyword
impl PartialOrd for SqlKeyword
Source§impl TryFrom<&str> for SqlKeyword
impl TryFrom<&str> for SqlKeyword
impl Copy for SqlKeyword
impl Eq for SqlKeyword
impl StructuralPartialEq for SqlKeyword
Auto Trait Implementations§
impl Freeze for SqlKeyword
impl RefUnwindSafe for SqlKeyword
impl Send for SqlKeyword
impl Sync for SqlKeyword
impl Unpin for SqlKeyword
impl UnsafeUnpin for SqlKeyword
impl UnwindSafe for SqlKeyword
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