#[non_exhaustive]pub enum ColumnKind {
Integer,
Float,
Boolean,
Text,
Mixed,
MissingOnly,
}Expand description
A simple, inferred kind for a column (RFC-035 §5).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Integer
All non-missing cells are integers.
Float
All non-missing cells are numeric (integers and/or floats).
Boolean
All non-missing cells are booleans.
Text
All non-missing cells are text.
Mixed
A mix of incompatible kinds (for example text and numbers).
MissingOnly
Every cell in the column is missing.
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 Display for ColumnKind
impl Display for ColumnKind
impl Eq for ColumnKind
Source§impl PartialEq for ColumnKind
impl PartialEq for ColumnKind
Source§fn eq(&self, other: &ColumnKind) -> bool
fn eq(&self, other: &ColumnKind) -> bool
Tests for
self and other values to be equal, and is used by ==.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