pub struct FindingsApplied {
pub layer: String,
pub findings: usize,
pub removed: usize,
pub replaced: bool,
}Expand description
A summary of replacing a findings layer (see
crate::Store::replace_findings_layer).
Fields§
§layer: StringThe layer key written.
findings: usizeFindings written by this ingest.
removed: usizeOwned finding rows deleted from the previous run of this layer. This is the number that proves obsolete records are removed rather than orphaned.
replaced: boolWhether a previous run of this layer existed and was replaced.
Trait Implementations§
Source§impl Clone for FindingsApplied
impl Clone for FindingsApplied
Source§fn clone(&self) -> FindingsApplied
fn clone(&self) -> FindingsApplied
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 FindingsApplied
impl Debug for FindingsApplied
Source§impl Default for FindingsApplied
impl Default for FindingsApplied
Source§fn default() -> FindingsApplied
fn default() -> FindingsApplied
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FindingsApplied
impl<'de> Deserialize<'de> for FindingsApplied
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
impl Eq for FindingsApplied
Source§impl PartialEq for FindingsApplied
impl PartialEq for FindingsApplied
Source§impl Serialize for FindingsApplied
impl Serialize for FindingsApplied
impl StructuralPartialEq for FindingsApplied
Auto Trait Implementations§
impl Freeze for FindingsApplied
impl RefUnwindSafe for FindingsApplied
impl Send for FindingsApplied
impl Sync for FindingsApplied
impl Unpin for FindingsApplied
impl UnsafeUnpin for FindingsApplied
impl UnwindSafe for FindingsApplied
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.