[−][src]Enum sqlparser::ast::DataType
SQL data types
Variants
Fixed-length character type e.g. CHAR(10)
Variable-length character type e.g. VARCHAR(10)
Uuid type
Clob(u64)
Large character object e.g. CLOB(1000)
Binary(u64)
Fixed-length binary type e.g. BINARY(10)
Varbinary(u64)
Variable-length binary type e.g. VARBINARY(10)
Blob(u64)
Large binary object e.g. BLOB(1000)
Decimal type with optional precision and scale e.g. DECIMAL(10,2)
Floating point with optional precision e.g. FLOAT(8)
Small integer
Integer
Big integer
Floating point e.g. REAL
Double e.g. DOUBLE PRECISION
Boolean
Date
Time
Timestamp
Interval
Regclass used in postgresql serial
Text
Bytea
Custom(ObjectName)
Custom type such as enums
Arrays
Trait Implementations
impl Clone for DataType
[src]
impl Debug for DataType
[src]
impl Display for DataType
[src]
impl Eq for DataType
[src]
impl Hash for DataType
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<DataType> for DataType
[src]
impl StructuralEq for DataType
[src]
impl StructuralPartialEq for DataType
[src]
Auto Trait Implementations
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnwindSafe for DataType
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>,