pub struct TableSchema {
pub name: String,
pub definition: Option<String>,
pub columns: Vec<ColumnSchema>,
pub indexes: Vec<IndexSchema>,
pub triggers: Vec<(String, Option<String>)>,
}Fields§
§name: String§definition: Option<String>§columns: Vec<ColumnSchema>§indexes: Vec<IndexSchema>§triggers: Vec<(String, Option<String>)>Trait Implementations§
Source§impl Clone for TableSchema
impl Clone for TableSchema
Source§impl Debug for TableSchema
impl Debug for TableSchema
Auto Trait Implementations§
impl Freeze for TableSchema
impl RefUnwindSafe for TableSchema
impl Send for TableSchema
impl Sync for TableSchema
impl Unpin for TableSchema
impl UnsafeUnpin for TableSchema
impl UnwindSafe for TableSchema
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