pub enum CatalogRecordWire {
CreateCollection {
collection_id: u32,
name: String,
schema_version: u32,
fields: Vec<FieldDef>,
indexes: Vec<IndexDef>,
primary_field: Option<String>,
},
NewSchemaVersion {
collection_id: u32,
schema_version: u32,
fields: Vec<FieldDef>,
indexes: Vec<IndexDef>,
},
}Expand description
Wire representation for encoding (mirrors on-disk entry kinds).
Variants§
Trait Implementations§
Source§impl Clone for CatalogRecordWire
impl Clone for CatalogRecordWire
Source§fn clone(&self) -> CatalogRecordWire
fn clone(&self) -> CatalogRecordWire
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 moreSource§impl Debug for CatalogRecordWire
impl Debug for CatalogRecordWire
Source§impl PartialEq for CatalogRecordWire
impl PartialEq for CatalogRecordWire
Source§fn eq(&self, other: &CatalogRecordWire) -> bool
fn eq(&self, other: &CatalogRecordWire) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CatalogRecordWire
Auto Trait Implementations§
impl Freeze for CatalogRecordWire
impl RefUnwindSafe for CatalogRecordWire
impl Send for CatalogRecordWire
impl Sync for CatalogRecordWire
impl Unpin for CatalogRecordWire
impl UnsafeUnpin for CatalogRecordWire
impl UnwindSafe for CatalogRecordWire
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