pub struct TableEntry {
pub revision: u64,
pub primary_key: String,
pub fields: BTreeMap<String, CatalogFieldSpec>,
pub partition_by: Option<String>,
pub description: Option<String>,
pub created_at: Option<u64>,
pub updated_at: Option<u64>,
pub validation: Option<CatalogValidation>,
pub options: Option<TableOptions>,
pub indexes: Option<Vec<IndexEntry>>,
pub checks: Option<Vec<CheckEntry>>,
pub history: Option<Vec<HistoryEntry>>,
}Expand description
One table of the catalog. The key it is stored under in Catalog.tables is the table name.
Fields§
§revision: u64§primary_key: String§fields: BTreeMap<String, CatalogFieldSpec>§partition_by: Option<String>§description: Option<String>§created_at: Option<u64>§updated_at: Option<u64>§validation: Option<CatalogValidation>§options: Option<TableOptions>§indexes: Option<Vec<IndexEntry>>§checks: Option<Vec<CheckEntry>>§history: Option<Vec<HistoryEntry>>Trait Implementations§
Source§impl Clone for TableEntry
impl Clone for TableEntry
Source§fn clone(&self) -> TableEntry
fn clone(&self) -> TableEntry
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 TableEntry
impl Debug for TableEntry
Source§impl PartialEq for TableEntry
impl PartialEq for TableEntry
impl StructuralPartialEq for TableEntry
Auto Trait Implementations§
impl Freeze for TableEntry
impl RefUnwindSafe for TableEntry
impl Send for TableEntry
impl Sync for TableEntry
impl Unpin for TableEntry
impl UnsafeUnpin for TableEntry
impl UnwindSafe for TableEntry
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