pub struct InvariantBreak {
pub name: String,
pub message: String,
pub locus: Option<String>,
}Fields§
§name: StringStable name of the invariant (e.g. "hash-present").
message: StringHuman-readable explanation.
locus: Option<String>Optional pointer to the offending dep / file.
Trait Implementations§
Source§impl Clone for InvariantBreak
impl Clone for InvariantBreak
Source§fn clone(&self) -> InvariantBreak
fn clone(&self) -> InvariantBreak
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 InvariantBreak
impl Debug for InvariantBreak
Source§impl<'de> Deserialize<'de> for InvariantBreak
impl<'de> Deserialize<'de> for InvariantBreak
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
Auto Trait Implementations§
impl Freeze for InvariantBreak
impl RefUnwindSafe for InvariantBreak
impl Send for InvariantBreak
impl Sync for InvariantBreak
impl Unpin for InvariantBreak
impl UnsafeUnpin for InvariantBreak
impl UnwindSafe for InvariantBreak
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