pub struct Summary {
pub found: usize,
pub not_found: usize,
pub uncertain: usize,
}Expand description
Verdict counts for a finished scan.
Fields§
§found: usizeSites where the account exists.
not_found: usizeSites where the account doesn’t exist.
uncertain: usizeSites with inconclusive verdicts.
Implementations§
Source§impl Summary
impl Summary
Sourcepub fn from_outcomes(outcomes: &[CheckOutcome]) -> Self
pub fn from_outcomes(outcomes: &[CheckOutcome]) -> Self
Tally verdicts from a slice of outcomes.
Trait Implementations§
impl Copy for Summary
Source§impl<'de> Deserialize<'de> for Summary
impl<'de> Deserialize<'de> for Summary
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
Auto Trait Implementations§
impl Freeze for Summary
impl RefUnwindSafe for Summary
impl Send for Summary
impl Sync for Summary
impl Unpin for Summary
impl UnsafeUnpin for Summary
impl UnwindSafe for Summary
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