pub struct ExplainReport {
pub migrations: Vec<MigrationExplain>,
}Expand description
EXPLAIN report for all pending migrations.
Fields§
§migrations: Vec<MigrationExplain>Per-migration EXPLAIN analysis results.
Implementations§
Source§impl ExplainReport
impl ExplainReport
Sourcepub fn has_failures(&self) -> bool
pub fn has_failures(&self) -> bool
Whether the preview proved a migration will fail.
migrate --dry-run routes here, so this is the difference between
“your migration is fine” and “your migration will fail on statement 2”.
Trait Implementations§
Source§impl Debug for ExplainReport
impl Debug for ExplainReport
Auto Trait Implementations§
impl Freeze for ExplainReport
impl RefUnwindSafe for ExplainReport
impl Send for ExplainReport
impl Sync for ExplainReport
impl Unpin for ExplainReport
impl UnsafeUnpin for ExplainReport
impl UnwindSafe for ExplainReport
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