pub struct TableSchemaSummary {
pub table_id: String,
pub primary_key: Vec<String>,
pub foreign_keys: Vec<ForeignKeySchema>,
pub columns: Vec<TableColumnSchema>,
}Expand description
Summary of one table schema.
Fields§
§table_id: StringTable id.
primary_key: Vec<String>Columns that uniquely identify table rows.
foreign_keys: Vec<ForeignKeySchema>Foreign-key relationships declared by the table schema.
columns: Vec<TableColumnSchema>Schema columns.
Trait Implementations§
Source§impl Clone for TableSchemaSummary
impl Clone for TableSchemaSummary
Source§impl Debug for TableSchemaSummary
impl Debug for TableSchemaSummary
Source§impl<'de> Deserialize<'de> for TableSchemaSummary
impl<'de> Deserialize<'de> for TableSchemaSummary
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
impl Eq for TableSchemaSummary
Source§impl PartialEq for TableSchemaSummary
impl PartialEq for TableSchemaSummary
Source§impl Serialize for TableSchemaSummary
impl Serialize for TableSchemaSummary
impl StructuralPartialEq for TableSchemaSummary
Auto Trait Implementations§
impl Freeze for TableSchemaSummary
impl RefUnwindSafe for TableSchemaSummary
impl Send for TableSchemaSummary
impl Sync for TableSchemaSummary
impl Unpin for TableSchemaSummary
impl UnsafeUnpin for TableSchemaSummary
impl UnwindSafe for TableSchemaSummary
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.