pub enum ColumnKind {
String,
TextPattern,
Number,
Quantity,
Integer,
Boolean,
Selector,
Reference,
Date,
DateTime,
}Expand description
The kind of every cell in one table column.
Cells reuse the scalar value variants: a string or textPattern cell is
a string value, a selector cell a selector value, and so on. A text
pattern is a whole-value wildcard pattern (* any run, ? one character,
\ escapes the next character).
Variants§
String
TextPattern
Number
Quantity
Integer
Boolean
Selector
Reference
Date
A calendar day, written as a date value.
DateTime
An instant with its UTC offset, written as a dateTime value.
Implementations§
Trait Implementations§
Source§impl Clone for ColumnKind
impl Clone for ColumnKind
Source§fn clone(&self) -> ColumnKind
fn clone(&self) -> ColumnKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ColumnKind
Source§impl Debug for ColumnKind
impl Debug for ColumnKind
Source§impl<'de> Deserialize<'de> for ColumnKind
impl<'de> Deserialize<'de> for ColumnKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ColumnKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ColumnKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ColumnKind
Source§impl Ord for ColumnKind
impl Ord for ColumnKind
Source§fn cmp(&self, other: &ColumnKind) -> Ordering
fn cmp(&self, other: &ColumnKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ColumnKind
impl PartialEq for ColumnKind
Source§impl PartialOrd for ColumnKind
impl PartialOrd for ColumnKind
Source§impl Serialize for ColumnKind
impl Serialize for ColumnKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ColumnKind
Auto Trait Implementations§
impl Freeze for ColumnKind
impl RefUnwindSafe for ColumnKind
impl Send for ColumnKind
impl Sync for ColumnKind
impl Unpin for ColumnKind
impl UnsafeUnpin for ColumnKind
impl UnwindSafe for ColumnKind
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