Skip to navigation

Generated from cargo doc --no-deps -p nemo-relay-builtins -p nemo-relay-diagnostics -p nemo-relay-logging -p nemo-relay-plugin-host -p nemo-relay-codecs -p nemo-relay -p nemo-relay-runtime -p nemo-relay-model-pricing -p nemo-relay-resource-metrics -p nemo-relay-observability -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 SourceIdentity {
pub instance_id: Uuid,
pub process_id: Option<u32>,
pub process_role: String,
pub relay_version: String,
}

Referenced types: Uuid, Option, u32, String

Identity of one Relay process or explicitly owned runtime incarnation.

Fields

instance_id: Uuid

Unique incarnation assigned before logging initialization.

process_id: Option<u32>

Descriptive operating system process ID, never an identity key.

process_role: String

Producer-defined role, such as embedded runtime, gateway, broker, or worker.

relay_version: String

Relay package version producing the evidence.

Trait Implementations

impl Clone for SourceIdentity

impl Clone for SourceIdentity

Referenced types: Clone, SourceIdentity

clone

fn clone(&self) -> SourceIdentity

Referenced types: clone, SourceIdentity

clone_from

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

Referenced types: clone_from

impl Debug for SourceIdentity

impl Debug for SourceIdentity

Referenced types: Debug, SourceIdentity

fmt

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

Referenced types: fmt, Formatter, Result, (), Error

impl<'de> Deserialize<'de> for SourceIdentity

impl<'de> Deserialize<'de> for SourceIdentity

Referenced types: Deserialize, SourceIdentity

deserialize

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

Referenced types: deserialize, Result, SourceIdentity, Deserializer, Error

impl JsonSchema for SourceIdentity

impl JsonSchema for SourceIdentity

Referenced types: SourceIdentity

schema_name

fn schema_name() -> String

Referenced types: String

schema_id

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

Referenced types: Cow, str

json_schema

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

is_referenceable

fn is_referenceable() -> bool

Referenced types: bool

impl PartialEq for SourceIdentity

impl PartialEq for SourceIdentity

Referenced types: PartialEq, SourceIdentity

eq

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

Referenced types: eq, SourceIdentity, bool

ne

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

Referenced types: ne, &Rhs, bool

impl Serialize for SourceIdentity

impl Serialize for SourceIdentity

Referenced types: Serialize, SourceIdentity

serialize

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

Referenced types: serialize, Result, Serializer, Ok, Error

impl WireValue<Box<DiagnosticSourceIdentity>> for SourceIdentity

impl WireValue<Box<DiagnosticSourceIdentity>> for SourceIdentity

Referenced types: WireValue, Box, DiagnosticSourceIdentity, SourceIdentity

to_wire

fn to_wire(self) -> Result<Box<DiagnosticSourceIdentity>, ConversionError>

Referenced types: to_wire, Result, Box, DiagnosticSourceIdentity, ConversionError

from_wire

fn from_wire(
value: Box<DiagnosticSourceIdentity>,
) -> Result<SourceIdentity, ConversionError>

Referenced types: from_wire, Box, DiagnosticSourceIdentity, Result, SourceIdentity, ConversionError

impl WireValue<DiagnosticSourceIdentity> for SourceIdentity

impl WireValue<DiagnosticSourceIdentity> for SourceIdentity

Referenced types: WireValue, DiagnosticSourceIdentity, SourceIdentity

to_wire

fn to_wire(self) -> Result<DiagnosticSourceIdentity, ConversionError>

Referenced types: to_wire, Result, DiagnosticSourceIdentity, ConversionError

from_wire

fn from_wire(
value: DiagnosticSourceIdentity,
) -> Result<SourceIdentity, ConversionError>

Referenced types: from_wire, DiagnosticSourceIdentity, Result, SourceIdentity, ConversionError

impl Eq for SourceIdentity

impl Eq for SourceIdentity

Referenced types: Eq, SourceIdentity

impl StructuralPartialEq for SourceIdentity

impl StructuralPartialEq for SourceIdentity

Referenced types: StructuralPartialEq, SourceIdentity