pub struct SemanticChange {
pub severity: SemanticSeverity,
pub kind: SemanticChangeKind,
}Expand description
One detected semantic change between current and restored snapshots.
Fields§
§severity: SemanticSeveritySeverity of this change.
kind: SemanticChangeKindSpecific kind of change detected.
Trait Implementations§
Source§impl Clone for SemanticChange
impl Clone for SemanticChange
Source§fn clone(&self) -> SemanticChange
fn clone(&self) -> SemanticChange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SemanticChange
impl Debug for SemanticChange
Source§impl<'de> Deserialize<'de> for SemanticChange
impl<'de> Deserialize<'de> for SemanticChange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SemanticChange
impl PartialEq for SemanticChange
Source§fn eq(&self, other: &SemanticChange) -> bool
fn eq(&self, other: &SemanticChange) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SemanticChange
impl Serialize for SemanticChange
impl Eq for SemanticChange
impl StructuralPartialEq for SemanticChange
Auto Trait Implementations§
impl Freeze for SemanticChange
impl RefUnwindSafe for SemanticChange
impl Send for SemanticChange
impl Sync for SemanticChange
impl Unpin for SemanticChange
impl UnsafeUnpin for SemanticChange
impl UnwindSafe for SemanticChange
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