pub struct DriftViolation {
pub rule_index: usize,
pub description: String,
pub units: Vec<u64>,
}Expand description
A single drift violation.
Fields§
§rule_index: usizeWhich rule was violated.
description: StringDescription of the violation.
units: Vec<u64>Units involved.
Trait Implementations§
Source§impl Clone for DriftViolation
impl Clone for DriftViolation
Source§fn clone(&self) -> DriftViolation
fn clone(&self) -> DriftViolation
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 DriftViolation
impl RefUnwindSafe for DriftViolation
impl Send for DriftViolation
impl Sync for DriftViolation
impl Unpin for DriftViolation
impl UnsafeUnpin for DriftViolation
impl UnwindSafe for DriftViolation
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