pub struct SchemaCode {
pub code: String,
pub table_count: usize,
pub index_count: usize,
pub view_count: usize,
pub warnings: Vec<String>,
}Expand description
Generated schema source plus counts for the command summary.
Fields§
§code: StringThe Rust source.
table_count: usizeNumber of tables written.
index_count: usizeNumber of indexes written.
view_count: usizeNumber of views written.
warnings: Vec<String>Objects the schema could not express, and similar notes.
Trait Implementations§
Source§impl Clone for SchemaCode
impl Clone for SchemaCode
Source§impl Debug for SchemaCode
impl Debug for SchemaCode
Auto Trait Implementations§
impl Freeze for SchemaCode
impl RefUnwindSafe for SchemaCode
impl Send for SchemaCode
impl Sync for SchemaCode
impl Unpin for SchemaCode
impl UnsafeUnpin for SchemaCode
impl UnwindSafe for SchemaCode
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