pub enum CompoundKind {
List,
Pair,
Map,
Struct,
}Expand description
Identifies the kind of a compound value. When type information is available
(concrete types), the kind is redundant. For /any or union-typed columns
the kind tag makes the value self-describing.
Variants§
Trait Implementations§
Source§impl Clone for CompoundKind
impl Clone for CompoundKind
Source§fn clone(&self) -> CompoundKind
fn clone(&self) -> CompoundKind
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 CompoundKind
impl Debug for CompoundKind
Source§impl Hash for CompoundKind
impl Hash for CompoundKind
Source§impl Ord for CompoundKind
impl Ord for CompoundKind
Source§fn cmp(&self, other: &CompoundKind) -> Ordering
fn cmp(&self, other: &CompoundKind) -> Ordering
1.21.0 · 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
Source§impl PartialEq for CompoundKind
impl PartialEq for CompoundKind
Source§impl PartialOrd for CompoundKind
impl PartialOrd for CompoundKind
impl Copy for CompoundKind
impl Eq for CompoundKind
impl StructuralPartialEq for CompoundKind
Auto Trait Implementations§
impl Freeze for CompoundKind
impl RefUnwindSafe for CompoundKind
impl Send for CompoundKind
impl Sync for CompoundKind
impl Unpin for CompoundKind
impl UnsafeUnpin for CompoundKind
impl UnwindSafe for CompoundKind
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