pub struct SchemaSnapshot {
pub name: String,
pub tables: Vec<TableSnapshot>,
}Expand description
Snapshot of a SQL Server schema and the tables currently modeled inside it.
Fields§
§name: String§tables: Vec<TableSnapshot>Implementations§
Trait Implementations§
Source§impl Clone for SchemaSnapshot
impl Clone for SchemaSnapshot
Source§fn clone(&self) -> SchemaSnapshot
fn clone(&self) -> SchemaSnapshot
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 SchemaSnapshot
impl Debug for SchemaSnapshot
Source§impl Default for SchemaSnapshot
impl Default for SchemaSnapshot
Source§fn default() -> SchemaSnapshot
fn default() -> SchemaSnapshot
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SchemaSnapshot
impl<'de> Deserialize<'de> for SchemaSnapshot
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SchemaSnapshot
impl PartialEq for SchemaSnapshot
Source§fn eq(&self, other: &SchemaSnapshot) -> bool
fn eq(&self, other: &SchemaSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SchemaSnapshot
impl Serialize for SchemaSnapshot
impl Eq for SchemaSnapshot
impl StructuralPartialEq for SchemaSnapshot
Auto Trait Implementations§
impl Freeze for SchemaSnapshot
impl RefUnwindSafe for SchemaSnapshot
impl Send for SchemaSnapshot
impl Sync for SchemaSnapshot
impl Unpin for SchemaSnapshot
impl UnsafeUnpin for SchemaSnapshot
impl UnwindSafe for SchemaSnapshot
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