pub struct ContentCheck {
pub kind: CheckKind,
pub path: String,
pub outcome: Outcome,
pub detail: String,
pub findings: Vec<Finding>,
pub warnings: Vec<Advisory>,
}Expand description
One content check and its three-state outcome.
Fields§
§kind: CheckKindKind of content check performed.
path: StringJSON Pointer path to the descriptor field or object the check covers.
outcome: OutcomeThree-state check result.
detail: StringHuman-readable explanation of the result.
findings: Vec<Finding>Fatal validation findings raised by the check.
warnings: Vec<Advisory>Non-fatal advisories raised by the check.
Trait Implementations§
Source§impl Clone for ContentCheck
impl Clone for ContentCheck
Source§impl Debug for ContentCheck
impl Debug for ContentCheck
impl Eq for ContentCheck
Source§impl PartialEq for ContentCheck
impl PartialEq for ContentCheck
Source§impl Serialize for ContentCheck
impl Serialize for ContentCheck
impl StructuralPartialEq for ContentCheck
Auto Trait Implementations§
impl Freeze for ContentCheck
impl RefUnwindSafe for ContentCheck
impl Send for ContentCheck
impl Sync for ContentCheck
impl Unpin for ContentCheck
impl UnsafeUnpin for ContentCheck
impl UnwindSafe for ContentCheck
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.