pub enum SqlScalarType {
Text,
Integer,
BigInt,
Boolean,
Decimal,
Float,
Date,
Time,
Timestamp,
Json,
Uuid,
Binary,
}Expand description
Common scalar SQL type labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for SqlScalarType
impl Clone for SqlScalarType
Source§fn clone(&self) -> SqlScalarType
fn clone(&self) -> SqlScalarType
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 SqlScalarType
impl Debug for SqlScalarType
Source§impl Default for SqlScalarType
impl Default for SqlScalarType
Source§fn default() -> SqlScalarType
fn default() -> SqlScalarType
Returns the “default value” for a type. Read more
Source§impl Display for SqlScalarType
impl Display for SqlScalarType
Source§impl FromStr for SqlScalarType
impl FromStr for SqlScalarType
Source§impl Hash for SqlScalarType
impl Hash for SqlScalarType
Source§impl Ord for SqlScalarType
impl Ord for SqlScalarType
Source§fn cmp(&self, other: &SqlScalarType) -> Ordering
fn cmp(&self, other: &SqlScalarType) -> 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 SqlScalarType
impl PartialEq for SqlScalarType
Source§fn eq(&self, other: &SqlScalarType) -> bool
fn eq(&self, other: &SqlScalarType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for SqlScalarType
impl PartialOrd for SqlScalarType
Source§impl TryFrom<&str> for SqlScalarType
impl TryFrom<&str> for SqlScalarType
impl Copy for SqlScalarType
impl Eq for SqlScalarType
impl StructuralPartialEq for SqlScalarType
Auto Trait Implementations§
impl Freeze for SqlScalarType
impl RefUnwindSafe for SqlScalarType
impl Send for SqlScalarType
impl Sync for SqlScalarType
impl Unpin for SqlScalarType
impl UnsafeUnpin for SqlScalarType
impl UnwindSafe for SqlScalarType
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