pub struct Finding {
pub code: &'static str,
pub subject: String,
pub detail: String,
pub status: Option<CheckStatus>,
}Expand description
One value-free observation.
Fields§
§code: &'static strStable code (scan_active, mode_mismatch, resource_missing,
resource_differs, files_differ, unreadable, logs_unavailable,
unloaded_resource, tag_probes_absent, tag_probes_unavailable,
tag_probe_not_good).
subject: StringWhat it is about: a resource key, unit key, tag path, mode, logs.
detail: StringPaths, codes and timestamps only.
status: Option<CheckStatus>Some(Warn) only on a finding that does not count against its check
(quick 261031-bbs); None, the default, counts, and is not
serialized, so every envelope without a warn finding is unchanged.
Trait Implementations§
impl Eq for Finding
impl StructuralPartialEq for Finding
Auto Trait Implementations§
impl Forget for Finding
impl Freeze for Finding
impl RefUnwindSafe for Finding
impl Send for Finding
impl Sync for Finding
impl Unpin for Finding
impl UnsafeUnpin for Finding
impl UnwindSafe for Finding
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> 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.