pub enum CollectionModel {
Show 14 variants
Table,
Document,
Graph,
Vector,
Hll,
Sketch,
Filter,
Kv,
Config,
Vault,
Mixed,
TimeSeries,
Queue,
Metrics,
}Expand description
The logical multi-structure model a collection presents (table, graph,
vector, queue, …). Referenced as a field type by the canonical SQL AST
(CreateCollectionQuery/CreateTableQuery and their builders), so it
is re-homed here (ADR 0053, RQL Phase 2) to keep the AST free of a
reddb-server leaf edge. The server’s crate::catalog re-export shim
keeps existing call-sites untouched.
Variants§
Trait Implementations§
Source§impl Clone for CollectionModel
impl Clone for CollectionModel
Source§fn clone(&self) -> CollectionModel
fn clone(&self) -> CollectionModel
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 CollectionModel
Source§impl Debug for CollectionModel
impl Debug for CollectionModel
impl Eq for CollectionModel
Source§impl PartialEq for CollectionModel
impl PartialEq for CollectionModel
Source§fn eq(&self, other: &CollectionModel) -> bool
fn eq(&self, other: &CollectionModel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CollectionModel
Auto Trait Implementations§
impl Freeze for CollectionModel
impl RefUnwindSafe for CollectionModel
impl Send for CollectionModel
impl Sync for CollectionModel
impl Unpin for CollectionModel
impl UnsafeUnpin for CollectionModel
impl UnwindSafe for CollectionModel
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