pub struct TableCatalogState {
pub tables: Vec<TableState>,
pub next_table_id: TableId,
pub schemas: Vec<String>,
}Expand description
Serializable table catalog state for persistence.
This structure contains all information needed to restore a table catalog from disk, including all table and field mappings.
Fields§
§tables: Vec<TableState>All registered tables with their field resolvers
next_table_id: TableIdNext table ID to assign
schemas: Vec<String>All registered schema names (canonical lowercase)
Trait Implementations§
Source§impl Clone for TableCatalogState
impl Clone for TableCatalogState
Source§fn clone(&self) -> TableCatalogState
fn clone(&self) -> TableCatalogState
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 TableCatalogState
impl Debug for TableCatalogState
impl<'__de> Decode<'__de> for TableCatalogStatewhere
'__de:,
impl Encode for TableCatalogState
Auto Trait Implementations§
impl Freeze for TableCatalogState
impl RefUnwindSafe for TableCatalogState
impl Send for TableCatalogState
impl Sync for TableCatalogState
impl Unpin for TableCatalogState
impl UnwindSafe for TableCatalogState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more