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§
source§impl DataTypeName
impl DataTypeName
pub fn from(name: &str) -> DataTypeName
Trait Implementations§
source§impl Clone for DataTypeName
impl Clone for DataTypeName
source§fn clone(&self) -> DataTypeName
fn clone(&self) -> DataTypeName
Returns a copy of the value. Read more
1.0.0 · 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 DataTypeName
impl Debug for DataTypeName
source§impl Display for DataTypeName
impl Display for DataTypeName
source§impl PartialEq<DataTypeName> for DataTypeName
impl PartialEq<DataTypeName> for DataTypeName
source§fn eq(&self, other: &DataTypeName) -> bool
fn eq(&self, other: &DataTypeName) -> bool
This method tests for
self and other values to be equal, and is used
by ==.