Skip to navigation

Struct Component 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 ComponentView<'a> { /* private fields */ }

Borrowed view of a component copied into a query workspace.

Implementations

impl ComponentView<'_>

impl ComponentView<'_>

key

pub fn key(&self) -> &str

Logical key of this registration.

instance_id

pub fn instance_id(&self) -> Uuid

Registration incarnation.

lifetime

pub fn lifetime(&self) -> &DiagnosticLifetimeSummary

Whole-registration lifetime accounting.

Trait Implementations

impl Serialize for ComponentView<'_>

impl Serialize for ComponentView<'_>

serialize

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