pub struct MigrationImpact {
pub breaking_changes: Vec<BreakingChange>,
pub warnings: Vec<Warning>,
pub safe_to_run: bool,
pub affected_files: usize,
}Expand description
Result of analyzing migration impact on codebase.
Fields§
§breaking_changes: Vec<BreakingChange>Breaking changes that will cause runtime errors
warnings: Vec<Warning>Warnings that may cause issues
safe_to_run: bool§affected_files: usizeTotal number of affected files
Implementations§
Trait Implementations§
Source§impl Debug for MigrationImpact
impl Debug for MigrationImpact
Source§impl Default for MigrationImpact
impl Default for MigrationImpact
Source§fn default() -> MigrationImpact
fn default() -> MigrationImpact
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MigrationImpact
impl RefUnwindSafe for MigrationImpact
impl Send for MigrationImpact
impl Sync for MigrationImpact
impl Unpin for MigrationImpact
impl UnwindSafe for MigrationImpact
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