#[non_exhaustive]pub struct DiffSummary {
pub hosts_added: Confirmed,
pub hosts_removed: Confirmed,
pub hosts_changed: usize,
pub ports_opened: Confirmed,
pub ports_closed: Confirmed,
pub ports_changed: usize,
pub services_changed: usize,
pub certificates_rotated: usize,
pub certificates_expiring: usize,
pub certificates_expired: usize,
}Expand description
Counts derived from a comparison.
The numbers a front end leads with, all derived from ScanDiff::hosts, where
the detail behind each one is.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.hosts_added: ConfirmedHosts only the current scan has a record for.
hosts_removed: ConfirmedHosts only the baseline has a record for.
hosts_changed: usizeHosts both scans have, that differ.
ports_opened: ConfirmedEndpoints that started accepting connections, by changing state or by appearing.
ports_closed: ConfirmedEndpoints that stopped accepting connections, by changing state or by disappearing.
ports_changed: usizeEndpoints both scans have, that differ.
services_changed: usizeEndpoints where what is listening changed or was first identified.
certificates_rotated: usizeEndpoints presenting a different certificate than the baseline.
certificates_expiring: usizeEndpoints whose certificate is inside the expiry threshold at the current clock and was outside it at the baseline’s.
certificates_expired: usizeEndpoints whose certificate has lapsed since the baseline ran.
Trait Implementations§
Source§impl Clone for DiffSummary
impl Clone for DiffSummary
Source§impl Debug for DiffSummary
impl Debug for DiffSummary
Source§impl Default for DiffSummary
impl Default for DiffSummary
impl Eq for DiffSummary
Source§impl PartialEq for DiffSummary
impl PartialEq for DiffSummary
impl StructuralPartialEq for DiffSummary
Auto Trait Implementations§
impl Freeze for DiffSummary
impl RefUnwindSafe for DiffSummary
impl Send for DiffSummary
impl Sync for DiffSummary
impl Unpin for DiffSummary
impl UnsafeUnpin for DiffSummary
impl UnwindSafe for DiffSummary
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
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
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more