pub struct BreakingChange {
pub kind: ChangeKind,
pub impact: ChangeImpact,
pub description: String,
pub affected_components: Vec<String>,
pub migration_hint: Option<String>,
}Expand description
Breaking change with detailed information
Fields§
§kind: ChangeKind§impact: ChangeImpact§description: String§affected_components: Vec<String>§migration_hint: Option<String>Implementations§
Source§impl BreakingChange
impl BreakingChange
pub fn new( kind: ChangeKind, impact: ChangeImpact, description: impl Into<String>, ) -> Self
pub fn with_affected(self, components: Vec<String>) -> Self
pub fn with_migration_hint(self, hint: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for BreakingChange
impl Clone for BreakingChange
Source§fn clone(&self) -> BreakingChange
fn clone(&self) -> BreakingChange
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 moreAuto Trait Implementations§
impl Freeze for BreakingChange
impl RefUnwindSafe for BreakingChange
impl Send for BreakingChange
impl Sync for BreakingChange
impl Unpin for BreakingChange
impl UnwindSafe for BreakingChange
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