pub struct SimulationReport {
pub passed: bool,
pub migrations_simulated: usize,
pub temp_schema: String,
pub errors: Vec<SimulationError>,
}Expand description
Report from a migration simulation.
Fields§
§passed: boolWhether all pending migrations passed simulation.
migrations_simulated: usizeNumber of migrations simulated.
temp_schema: StringName of the temporary schema used.
errors: Vec<SimulationError>Errors encountered during simulation.
Trait Implementations§
Source§impl Clone for SimulationReport
impl Clone for SimulationReport
Source§fn clone(&self) -> SimulationReport
fn clone(&self) -> SimulationReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SimulationReport
impl Debug for SimulationReport
Auto Trait Implementations§
impl Freeze for SimulationReport
impl RefUnwindSafe for SimulationReport
impl Send for SimulationReport
impl Sync for SimulationReport
impl Unpin for SimulationReport
impl UnsafeUnpin for SimulationReport
impl UnwindSafe for SimulationReport
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