pub struct SqlTableSchema {
pub table_name: String,
pub columns: Vec<SqlColumnSchema>,
}Expand description
Backend-neutral SQL table metadata.
Fields§
§table_name: String§columns: Vec<SqlColumnSchema>Implementations§
Source§impl SqlTableSchema
impl SqlTableSchema
pub fn column(&self, name: &str) -> Option<&SqlColumnSchema>
Trait Implementations§
Source§impl Clone for SqlTableSchema
impl Clone for SqlTableSchema
Source§fn clone(&self) -> SqlTableSchema
fn clone(&self) -> SqlTableSchema
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 SqlTableSchema
impl Debug for SqlTableSchema
impl Eq for SqlTableSchema
Source§impl PartialEq for SqlTableSchema
impl PartialEq for SqlTableSchema
impl StructuralPartialEq for SqlTableSchema
Auto Trait Implementations§
impl Freeze for SqlTableSchema
impl RefUnwindSafe for SqlTableSchema
impl Send for SqlTableSchema
impl Sync for SqlTableSchema
impl Unpin for SqlTableSchema
impl UnsafeUnpin for SqlTableSchema
impl UnwindSafe for SqlTableSchema
Blanket Implementations§
impl<T> Allocation for T
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<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.