Enum structured::ColumnType
source · [−]pub enum ColumnType {
Int64,
Float64,
DateTime,
IpAddr,
Enum,
Utf8,
Binary,
}Expand description
The data type of a table column.
Variants
Int64
Float64
DateTime
IpAddr
Enum
Utf8
Binary
Trait Implementations
sourceimpl Clone for ColumnType
impl Clone for ColumnType
sourcefn clone(&self) -> ColumnType
fn clone(&self) -> ColumnType
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 more
sourceimpl Debug for ColumnType
impl Debug for ColumnType
sourceimpl<'de> Deserialize<'de> for ColumnType
impl<'de> Deserialize<'de> for ColumnType
sourcefn 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
sourceimpl From<ColumnType> for DataType
impl From<ColumnType> for DataType
sourcefn from(ct: ColumnType) -> Self
fn from(ct: ColumnType) -> Self
Converts to this type from the input type.
sourceimpl FromStr for ColumnType
impl FromStr for ColumnType
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing.
sourceimpl PartialEq<ColumnType> for ColumnType
impl PartialEq<ColumnType> for ColumnType
sourceimpl Serialize for ColumnType
impl Serialize for ColumnType
sourceimpl TryFrom<&'_ str> for ColumnType
impl TryFrom<&'_ str> for ColumnType
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
impl Copy 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more