pub struct Finding {
pub name: String,
pub node: NodeId,
pub attribute: Attribute,
pub expected: AttributeValue,
pub before: Option<Evidence<AttributeValue>>,
pub after: Option<Evidence<AttributeValue>>,
pub before_outcome: Option<Outcome>,
pub outcome: Outcome,
}Expand description
Comparison of one named signal’s required attribute.
Fields§
§name: StringContract’s signal name.
node: NodeIdStable namespace-qualified signal identifier.
attribute: AttributeAttribute the operator required.
expected: AttributeValueRequirement taken from the contract.
before: Option<Evidence<AttributeValue>>Baseline evidence, if captured.
after: Option<Evidence<AttributeValue>>Current evidence, if captured.
before_outcome: Option<Outcome>Decision for this attribute in the supplied baseline. A first inspection
has no baseline decision. Missing evidence in a supplied baseline yields
Some(Outcome::Unverified).
outcome: OutcomeDecision for this attribute against the current observation.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Finding
impl Freeze for Finding
impl Move 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<'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
Mutably borrows from an owned value. Read more