Skip to navigation

Struct Check Observation

View as Markdown

Generated from cargo doc --no-deps -p nemo-fabric-core.

pub struct CheckObservation {
    pub name: CheckStage,
    pub outcome: CheckOutcome,
    pub reason_code: Option<CheckReason>,
    pub source: CheckSource,
    pub observed_at: Option<String>,
}

One attempted stage in evaluation order.

Fields

name: CheckStage

Stage that was attempted.

outcome: CheckOutcome

Stage outcome.

reason_code: Option<CheckReason>

Fixed diagnostic or null on pass.

source: CheckSource

Fixed evidence source.

observed_at: Option<String>

Fresh observation time, or null if unobserved.

Trait Implementations

impl Clone for CheckObservation

impl Clone for CheckObservation

clone

fn clone(&self) -> CheckObservation

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for CheckObservation

impl Debug for CheckObservation

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'de> Deserialize<'de> for CheckObservation

impl<'de> Deserialize<'de> for CheckObservation

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl JsonSchema for CheckObservation

impl JsonSchema for CheckObservation

schema_name

fn schema_name() -> Cow<'static, str>

schema_id

fn schema_id() -> Cow<'static, str>

json_schema

fn json_schema(generator: &mut SchemaGenerator) -> Schema

inline_schema

fn inline_schema() -> bool

impl PartialEq for CheckObservation

impl PartialEq for CheckObservation

eq

fn eq(&self, other: &CheckObservation) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for CheckObservation

impl Serialize for CheckObservation

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl StructuralPartialEq for CheckObservation

impl StructuralPartialEq for CheckObservation