pub struct CompatibilityReport {
pub breaking_changes: Vec<BreakingChange>,
pub backward_compatible_changes: Vec<String>,
pub forward_compatible_changes: Vec<String>,
pub deprecations: Vec<String>,
pub migration_plan: MigrationPlan,
}Expand description
Compatibility analysis result
Fields§
§breaking_changes: Vec<BreakingChange>Breaking changes
backward_compatible_changes: Vec<String>Backward compatible changes
forward_compatible_changes: Vec<String>Forward compatible changes
deprecations: Vec<String>Deprecations
migration_plan: MigrationPlanMigration plan
Implementations§
Source§impl CompatibilityReport
impl CompatibilityReport
pub fn new() -> Self
pub fn has_breaking_changes(&self) -> bool
pub fn is_backward_compatible(&self) -> bool
pub fn suggested_version_bump(&self) -> VersionBump
pub fn max_impact(&self) -> ChangeImpact
Trait Implementations§
Source§impl Clone for CompatibilityReport
impl Clone for CompatibilityReport
Source§fn clone(&self) -> CompatibilityReport
fn clone(&self) -> CompatibilityReport
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 CompatibilityReport
impl Debug for CompatibilityReport
Auto Trait Implementations§
impl Freeze for CompatibilityReport
impl RefUnwindSafe for CompatibilityReport
impl Send for CompatibilityReport
impl Sync for CompatibilityReport
impl Unpin for CompatibilityReport
impl UnwindSafe for CompatibilityReport
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