Enum klickhouse::Type [−][src]
pub enum Type {}Show variants
Int8, Int16, Int32, Int64, Int128, Int256, UInt8, UInt16, UInt32, UInt64, UInt128, UInt256, Float32, Float64, Decimal32(usize), Decimal64(usize), Decimal128(usize), Decimal256(usize), String, FixedString(usize), Uuid, Date, DateTime(Tz), DateTime64(usize, Tz), Ipv4, Ipv6, Enum8(Vec<(String, u8)>), Enum16(Vec<(String, u16)>), LowCardinality(Box<Type>), Array(Box<Type>), Tuple(Vec<Type>), Nullable(Box<Type>), Map(Box<Type>, Box<Type>),
Expand description
A raw Clickhouse type.
Variants
Decimal32(usize)
Decimal64(usize)
Decimal128(usize)
Decimal256(usize)
FixedString(usize)
DateTime(Tz)
Not supported
Not supported
Implementations
impl Type
[src]
impl Type
[src]pub fn unwrap_array(&self) -> &Type
[src]
pub fn unwrap_map(&self) -> (&Type, &Type)
[src]
pub fn unwrap_tuple(&self) -> &[Type]
[src]
pub fn strip_null(&self) -> &Type
[src]
pub fn is_nullable(&self) -> bool
[src]
pub fn default_value(&self) -> Value
[src]
pub fn strip_low_cardinality(&self) -> &Type
[src]
Trait Implementations
impl Eq for Type
[src]
impl StructuralEq for Type
[src]
impl StructuralPartialEq for Type
[src]
Auto Trait Implementations
impl RefUnwindSafe for Type
impl Send for Type
impl Sync for Type
impl Unpin for Type
impl UnwindSafe for Type
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more