pub struct ConformanceFinding {
pub kind: FindingKind,
pub label: String,
pub expected: Option<String>,
pub observed: Option<String>,
}Expand description
One deterministic conformance finding with bounded expected/observed values.
Fields§
§kind: FindingKindFinding category.
label: StringStable logical label or inventory category.
expected: Option<String>Expected value, when applicable.
observed: Option<String>Observed value, when applicable.
Trait Implementations§
Source§impl Clone for ConformanceFinding
impl Clone for ConformanceFinding
Source§impl Debug for ConformanceFinding
impl Debug for ConformanceFinding
impl Eq for ConformanceFinding
Source§impl Ord for ConformanceFinding
impl Ord for ConformanceFinding
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ConformanceFinding
impl PartialEq for ConformanceFinding
Source§impl PartialOrd for ConformanceFinding
impl PartialOrd for ConformanceFinding
Source§impl Serialize for ConformanceFinding
impl Serialize for ConformanceFinding
impl StructuralPartialEq for ConformanceFinding
Auto Trait Implementations§
impl Forget for ConformanceFinding
impl Freeze for ConformanceFinding
impl Move for ConformanceFinding
impl RefUnwindSafe for ConformanceFinding
impl Send for ConformanceFinding
impl Sync for ConformanceFinding
impl Unpin for ConformanceFinding
impl UnsafeUnpin for ConformanceFinding
impl UnwindSafe for ConformanceFinding
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.