Enum sql_parser::ast::defs::value::DataType [−][src]
pub enum DataType<T: AstInfo> {
Array(Box<DataType<T>>),
List(Box<DataType<T>>),
Map {
key_type: Box<DataType<T>>,
value_type: Box<DataType<T>>,
},
Other {
name: T::ObjectName,
typ_mod: Vec<u64>,
},
}
Expand description
SQL data types
Variants
Array(Box<DataType<T>>)
Array
List(Box<DataType<T>>)
List
Map
Map
Other
Fields
name: T::ObjectName
Types who don’t embed other types, e.g. INT
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for DataType<T> where
<T as AstInfo>::ObjectName: RefUnwindSafe,
impl<T> Send for DataType<T> where
<T as AstInfo>::ObjectName: Send,
impl<T> Sync for DataType<T> where
<T as AstInfo>::ObjectName: Sync,
impl<T> Unpin for DataType<T> where
<T as AstInfo>::ObjectName: Unpin,
impl<T> UnwindSafe for DataType<T> where
<T as AstInfo>::ObjectName: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}
) and returns it.
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more