Enum structured::ColumnType
source · pub enum ColumnType {
Int64,
Float64,
DateTime,
IpAddr,
Enum,
Utf8,
Binary,
}Expand description
The data type of a table column.
Variants§
Trait Implementations§
source§impl Clone for ColumnType
impl Clone for ColumnType
source§fn clone(&self) -> ColumnType
fn clone(&self) -> ColumnType
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 ColumnType
impl Debug for ColumnType
source§impl<'de> Deserialize<'de> for ColumnType
impl<'de> Deserialize<'de> for ColumnType
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ColumnType> for DataType
impl From<ColumnType> for DataType
source§fn from(ct: ColumnType) -> Self
fn from(ct: ColumnType) -> Self
Converts to this type from the input type.
source§impl FromStr for ColumnType
impl FromStr for ColumnType
source§impl PartialEq<ColumnType> for ColumnType
impl PartialEq<ColumnType> for ColumnType
source§fn eq(&self, other: &ColumnType) -> bool
fn eq(&self, other: &ColumnType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ColumnType
impl Serialize for ColumnType
source§impl TryFrom<&str> for ColumnType
impl TryFrom<&str> for ColumnType
impl Copy for ColumnType
impl Eq for ColumnType
impl StructuralEq for ColumnType
impl StructuralPartialEq for ColumnType
Auto Trait Implementations§
impl RefUnwindSafe for ColumnType
impl Send for ColumnType
impl Sync for ColumnType
impl Unpin for ColumnType
impl UnwindSafe for ColumnType
Blanket Implementations§
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.