[−][src]Enum sqlparser::sqlast::SQLType
SQL datatypes for literals in SQL statements
Variants
Fixed-length character type e.g. CHAR(10)
Variable-length character type e.g. VARCHAR(10)
Uuid type
Clob(usize)
Large character object e.g. CLOB(1000)
Binary(usize)
Fixed-length binary type e.g. BINARY(10)
Varbinary(usize)
Variable-length binary type e.g. VARBINARY(10)
Blob(usize)
Large binary object e.g. BLOB(1000)
Decimal type with precision and optional scale e.g. DECIMAL(10,2)
Small integer
Integer
Big integer
Floating point with optional precision e.g. FLOAT(8)
Floating point e.g. REAL
Double e.g. DOUBLE PRECISION
Boolean
Date
Time
Timestamp
Regclass used in postgresql serial
Text
Bytea
Custom(String)
Custom type such as enums
Arrays
Trait Implementations
impl Clone for SQLType
[src]
impl Debug for SQLType
[src]
impl PartialEq<SQLType> for SQLType
[src]
impl StructuralPartialEq for SQLType
[src]
impl ToString for SQLType
[src]
Auto Trait Implementations
impl RefUnwindSafe for SQLType
impl Send for SQLType
impl Sync for SQLType
impl Unpin for SQLType
impl UnwindSafe for SQLType
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,