pub struct DumpSchemaReport {
pub user_version: u32,
pub tables: Vec<SchemaObject>,
pub indexes: Vec<SchemaObject>,
}Expand description
Result of Engine::dump_schema. user_version is the
PRAGMA user_version sentinel. Canonical tables appear first per
fathomdb_schema::CANONICAL_TABLES, then remaining non-sqlite_*
tables alphabetically. Indexes follow the same alphabetical rule.
Fields§
§user_version: u32§tables: Vec<SchemaObject>§indexes: Vec<SchemaObject>Trait Implementations§
Source§impl Clone for DumpSchemaReport
impl Clone for DumpSchemaReport
Source§fn clone(&self) -> DumpSchemaReport
fn clone(&self) -> DumpSchemaReport
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 DumpSchemaReport
impl Debug for DumpSchemaReport
Source§impl PartialEq for DumpSchemaReport
impl PartialEq for DumpSchemaReport
Source§fn eq(&self, other: &DumpSchemaReport) -> bool
fn eq(&self, other: &DumpSchemaReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for DumpSchemaReport
impl StructuralPartialEq for DumpSchemaReport
Auto Trait Implementations§
impl Freeze for DumpSchemaReport
impl RefUnwindSafe for DumpSchemaReport
impl Send for DumpSchemaReport
impl Sync for DumpSchemaReport
impl Unpin for DumpSchemaReport
impl UnsafeUnpin for DumpSchemaReport
impl UnwindSafe for DumpSchemaReport
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