Enum cql3_parser::common::DataTypeName
source · [−]pub enum DataTypeName {
Show 26 variants
Timestamp,
Set,
Ascii,
BigInt,
Blob,
Boolean,
Counter,
Date,
Decimal,
Double,
Float,
Frozen,
Inet,
Int,
List,
Map,
SmallInt,
Text,
Time,
TimeUuid,
TinyInt,
Tuple,
VarChar,
VarInt,
Uuid,
Custom(String),
}Expand description
An enumeration of data types.
Variants
Timestamp
Set
Ascii
BigInt
Blob
Boolean
Counter
Date
Decimal
Double
Float
Frozen
Inet
Int
List
Map
SmallInt
Text
Time
TimeUuid
TinyInt
Tuple
VarChar
VarInt
Uuid
Custom(String)
defines a custom type. Where the name is the name of the type.
Implementations
sourceimpl DataTypeName
impl DataTypeName
pub fn from(name: &str) -> DataTypeName
Trait Implementations
sourceimpl Clone for DataTypeName
impl Clone for DataTypeName
sourcefn clone(&self) -> DataTypeName
fn clone(&self) -> DataTypeName
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for DataTypeName
impl Debug for DataTypeName
sourceimpl Display for DataTypeName
impl Display for DataTypeName
sourceimpl PartialEq<DataTypeName> for DataTypeName
impl PartialEq<DataTypeName> for DataTypeName
sourcefn eq(&self, other: &DataTypeName) -> bool
fn eq(&self, other: &DataTypeName) -> bool
impl StructuralPartialEq for DataTypeName
Auto Trait Implementations
impl RefUnwindSafe for DataTypeName
impl Send for DataTypeName
impl Sync for DataTypeName
impl Unpin for DataTypeName
impl UnwindSafe for DataTypeName
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more