pub struct ProbeRunResult {
pub name: String,
pub category: ProbeCategory,
pub actual: Detection,
pub expectation: ProbeExpectation,
pub passed: bool,
pub failure_reason: Option<String>,
}Expand description
Outcome of running a single probe.
Fields§
§name: StringProbe name.
category: ProbeCategoryProbe category.
actual: DetectionActual detection produced by the classifier.
expectation: ProbeExpectationExpected outcome.
passed: boolWhether the probe passed.
failure_reason: Option<String>Failure reason when !passed.
Trait Implementations§
Source§impl Clone for ProbeRunResult
impl Clone for ProbeRunResult
Source§fn clone(&self) -> ProbeRunResult
fn clone(&self) -> ProbeRunResult
Returns a duplicate of the value. Read more
1.0.0 · 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 ProbeRunResult
impl Debug for ProbeRunResult
Source§impl<'de> Deserialize<'de> for ProbeRunResult
impl<'de> Deserialize<'de> for ProbeRunResult
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
Source§impl PartialEq for ProbeRunResult
impl PartialEq for ProbeRunResult
Source§impl Serialize for ProbeRunResult
impl Serialize for ProbeRunResult
impl StructuralPartialEq for ProbeRunResult
Auto Trait Implementations§
impl Freeze for ProbeRunResult
impl RefUnwindSafe for ProbeRunResult
impl Send for ProbeRunResult
impl Sync for ProbeRunResult
impl Unpin for ProbeRunResult
impl UnsafeUnpin for ProbeRunResult
impl UnwindSafe for ProbeRunResult
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