Skip to navigation

Struct Check Report

View as Markdown

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

pub struct CheckReport {
    pub schema_version: CheckVersion,
    pub scope: CheckScope,
    pub runtime_id: Option<String>,
    pub service_id: Option<String>,
    pub requested_level: Option<CheckLevel>,
    pub outcome: CheckOutcome,
    pub reason_code: Option<CheckReason>,
    pub completed_at: String,
    pub elapsed_ms: f64,
    pub server: Option<ServerObservation>,
    pub runtime: Option<RuntimeObservation>,
    pub checks: Vec<CheckObservation>,
}

Health check report.

Fields

schema_version: CheckVersion

Version of this contract.

scope: CheckScope

Scope requested by the caller.

runtime_id: Option<String>

Selected runtime ID, or null for server and service scopes.

service_id: Option<String>

Selected service ID; omitted for server and runtime reports.

requested_level: Option<CheckLevel>

Defaulted level, or null for server scope.

outcome: CheckOutcome

Aggregate outcome.

reason_code: Option<CheckReason>

Fixed aggregate diagnostic.

completed_at: String

UTC completion timestamp.

elapsed_ms: f64

Elapsed time across all routing and probes.

server: Option<ServerObservation>

Server evidence, absent for runtime and service scopes.

runtime: Option<RuntimeObservation>

Runtime evidence when the binding is verified.

checks: Vec<CheckObservation>

Exactly the attempted stages, in order.

Trait Implementations

impl Clone for CheckReport

impl Clone for CheckReport

clone

fn clone(&self) -> CheckReport

clone_from

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

impl Debug for CheckReport

impl Debug for CheckReport

fmt

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

impl<'de> Deserialize<'de> for CheckReport

impl<'de> Deserialize<'de> for CheckReport

deserialize

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

impl JsonSchema for CheckReport

impl JsonSchema for CheckReport

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 CheckReport

impl PartialEq for CheckReport

eq

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

ne

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

impl Serialize for CheckReport

impl Serialize for CheckReport

serialize

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

impl StructuralPartialEq for CheckReport

impl StructuralPartialEq for CheckReport