pub enum TypeFamily {
Show 15 variants
Unknown,
Boolean,
Integer,
Numeric,
String,
Binary,
Date,
Time,
Timestamp,
Interval,
Json,
Uuid,
Array,
Map,
Struct,
}Expand description
Canonical type family used by schema/type checks.
Variants§
Unknown
Boolean
Integer
Numeric
String
Binary
Date
Time
Timestamp
Interval
Json
Uuid
Array
Map
Struct
Implementations§
Source§impl TypeFamily
impl TypeFamily
pub fn is_numeric(self) -> bool
pub fn is_temporal(self) -> bool
Trait Implementations§
Source§impl Clone for TypeFamily
impl Clone for TypeFamily
Source§fn clone(&self) -> TypeFamily
fn clone(&self) -> TypeFamily
Returns a duplicate 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 TypeFamily
impl Debug for TypeFamily
Source§impl<'de> Deserialize<'de> for TypeFamily
impl<'de> Deserialize<'de> for TypeFamily
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 Hash for TypeFamily
impl Hash for TypeFamily
Source§impl PartialEq for TypeFamily
impl PartialEq for TypeFamily
Source§impl Serialize for TypeFamily
impl Serialize for TypeFamily
impl Copy for TypeFamily
impl Eq for TypeFamily
impl StructuralPartialEq for TypeFamily
Auto Trait Implementations§
impl Freeze for TypeFamily
impl RefUnwindSafe for TypeFamily
impl Send for TypeFamily
impl Sync for TypeFamily
impl Unpin for TypeFamily
impl UnsafeUnpin for TypeFamily
impl UnwindSafe for TypeFamily
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more