Skip to navigation

Struct Event View

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub struct EventView<'a> { /* private fields */ }

Borrowed view of an event copied into a query workspace.

Implementations

impl EventView<'_>

impl EventView<'_>

sequence

pub fn sequence(&self) -> DiagnosticNumber

Source acceptance sequence.

component_instance_id

pub fn component_instance_id(&self) -> Uuid

Original registration incarnation.

component_key

pub fn component_key(&self) -> &str

Original logical component key.

code

pub fn code(&self) -> &str

Canonical code, including opaque extension names.

count

pub fn count(&self) -> DiagnosticNumber

Accepted occurrence delta.

detail

pub fn detail(&self) -> Option<&str>

Optional retained detail, borrowed from copied workspace text.

outcome

pub fn outcome(&self) -> DiagnosticOutcome

Producer’s observed outcome, independent of health interpretation.

Trait Implementations

impl Serialize for EventView<'_>

impl Serialize for EventView<'_>

serialize

fn serialize<S: Serializer>(&self, s: S) -> Result<S::Ok, S::Error>