pub enum ColumnKind {
Integer,
BigInteger,
Float,
Uuid,
Text,
Json,
Other,
}Expand description
What a column holds, as far as a const can tell: a ColumnType
reduced to the kinds that checks made at compile time read, through
ValueType::COLUMN_KIND.
Variants§
Integer
An integer of up to 32 bits, signed or not.
BigInteger
A 64-bit integer, signed or not.
Float
A floating-point number: REAL/FLOAT or DOUBLE.
Uuid
A UUID.
Text
Text: CHAR, VARCHAR or TEXT.
Json
A JSON document: JSON or JSONB.
Other
Any other type.
Trait Implementations§
Source§impl Clone for ColumnKind
impl Clone for ColumnKind
impl Copy for ColumnKind
Source§impl Debug for ColumnKind
impl Debug for ColumnKind
impl Eq for ColumnKind
Source§impl PartialEq for ColumnKind
impl PartialEq for ColumnKind
impl StructuralPartialEq for ColumnKind
Auto Trait Implementations§
impl Forget for ColumnKind
impl Freeze for ColumnKind
impl Move 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