pub struct MigrateReport {
pub migrations_applied: usize,
pub total_time_ms: i32,
pub details: Vec<MigrateDetail>,
pub hooks_executed: usize,
pub hooks_time_ms: i32,
}Expand description
Report returned after a migrate operation.
Fields§
§migrations_applied: usizeNumber of migrations that were applied in this run.
total_time_ms: i32Total execution time of all migrations in milliseconds.
details: Vec<MigrateDetail>Per-migration details for each applied migration.
hooks_executed: usizeNumber of lifecycle hooks that were executed.
hooks_time_ms: i32Total execution time of all hooks in milliseconds.
Trait Implementations§
Source§impl Debug for MigrateReport
impl Debug for MigrateReport
Auto Trait Implementations§
impl Freeze for MigrateReport
impl RefUnwindSafe for MigrateReport
impl Send for MigrateReport
impl Sync for MigrateReport
impl Unpin for MigrateReport
impl UnsafeUnpin for MigrateReport
impl UnwindSafe for MigrateReport
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