Struct Source Identity
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 SourceIdentity {
pub instance_id: Uuid,
pub process_id: Option<u32>,
pub process_role: String,
pub relay_version: 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
clone
fn clone(&self) -> SourceIdentity
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for SourceIdentity
impl Debug for SourceIdentity
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl<'de> Deserialize<'de> for SourceIdentity
impl<'de> Deserialize<'de> for SourceIdentity
deserialize
fn deserialize<__D>(
__deserializer: __D,
) -> Result<SourceIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl PartialEq for SourceIdentity
impl PartialEq for SourceIdentity
eq
fn eq(&self, other: &SourceIdentity) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl Serialize for SourceIdentity
impl Serialize for SourceIdentity
serialize
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Eq for SourceIdentity
impl Eq for SourceIdentity
impl StructuralPartialEq for SourceIdentity
impl StructuralPartialEq for SourceIdentity