pub struct IntrospectResult {
pub schema_code: String,
pub table_count: usize,
pub index_count: usize,
pub view_count: usize,
pub warnings: Vec<String>,
pub mysql_catalog_defaults: Option<MySQLCatalogDefaults>,
pub snapshot: Snapshot,
pub snapshot_path: PathBuf,
}Expand description
What run_introspection produced.
Fields§
§schema_code: StringGenerated Rust schema code
table_count: usizeNumber of tables found
index_count: usizeNumber of indexes found
view_count: usizeNumber of views found
warnings: Vec<String>Any warnings during introspection
mysql_catalog_defaults: Option<MySQLCatalogDefaults>Live MySQL defaults used only while comparing an introspected schema with a desired schema during push planning.
snapshot: SnapshotThe schema snapshot for migration tracking
snapshot_path: PathBufPath to the generated snapshot file
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IntrospectResult
impl RefUnwindSafe for IntrospectResult
impl Send for IntrospectResult
impl Sync for IntrospectResult
impl Unpin for IntrospectResult
impl UnsafeUnpin for IntrospectResult
impl UnwindSafe for IntrospectResult
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