pub struct SnapshotTable {
pub column_order: Vec<String>,
pub columns: BTreeMap<String, ColumnDef>,
pub indexes: BTreeMap<String, IndexDef>,
pub foreign_keys: BTreeMap<String, ForeignKeyDef>,
pub check_constraints: BTreeMap<String, String>,
pub strict: bool,
}Fields§
§column_order: Vec<String>Declared column order for to_registry (matches source TableDef.columns).
columns: BTreeMap<String, ColumnDef>§indexes: BTreeMap<String, IndexDef>§foreign_keys: BTreeMap<String, ForeignKeyDef>§check_constraints: BTreeMap<String, String>§strict: boolTrait Implementations§
Source§impl Clone for SnapshotTable
impl Clone for SnapshotTable
Source§fn clone(&self) -> SnapshotTable
fn clone(&self) -> SnapshotTable
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 SnapshotTable
impl Debug for SnapshotTable
Source§impl<'de> Deserialize<'de> for SnapshotTable
impl<'de> Deserialize<'de> for SnapshotTable
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SnapshotTable
impl RefUnwindSafe for SnapshotTable
impl Send for SnapshotTable
impl Sync for SnapshotTable
impl Unpin for SnapshotTable
impl UnsafeUnpin for SnapshotTable
impl UnwindSafe for SnapshotTable
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