pub enum ColumnType {
String,
Integer,
Float,
Boolean,
Json,
Bytes,
BlobRef,
Crdt,
}Expand description
Column type tags (§2.4) — unchanged from v1’s binary-table-v1 assignment.
Variants§
String
Integer
Float
Boolean
Json
Bytes
BlobRef
§2.4 tag 7 (§5.9): a canonical BlobRef JSON document, codec-shaped
identically to json.
Crdt
§2.4 tag 8 (§5.10): opaque server-merged CRDT bytes, codec-shaped
identically to bytes. The Rust client round-trips the bytes; merging
is server-side (§5.10.5).
Implementations§
Trait Implementations§
Source§impl Clone for ColumnType
impl Clone for ColumnType
Source§fn clone(&self) -> ColumnType
fn clone(&self) -> ColumnType
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 ColumnType
Source§impl Debug for ColumnType
impl Debug for ColumnType
impl Eq for ColumnType
Source§impl PartialEq for ColumnType
impl PartialEq for ColumnType
Source§fn eq(&self, other: &ColumnType) -> bool
fn eq(&self, other: &ColumnType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ColumnType
Auto Trait Implementations§
impl Freeze for ColumnType
impl RefUnwindSafe for ColumnType
impl Send for ColumnType
impl Sync for ColumnType
impl Unpin for ColumnType
impl UnsafeUnpin for ColumnType
impl UnwindSafe for ColumnType
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