Struct Component 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 ComponentIdentity {
pub key: String,
pub instance_id: Uuid,
pub generation: DiagnosticNumber,
}
Identity of one registered component within a diagnostic source.
Fields
key: String
Stable logical name, excluding request and session identifiers.
instance_id: Uuid
Unique registration instance, distinguishing replacement components.
generation: DiagnosticNumber
Source-local registration generation, increasing when a logical key is replaced.
Trait Implementations
impl Clone for ComponentIdentity
impl Clone for ComponentIdentity
clone
fn clone(&self) -> ComponentIdentity
clone_from
fn clone_from(&mut self, source: &Self)
impl Debug for ComponentIdentity
impl Debug for ComponentIdentity
fmt
fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>
impl<'de> Deserialize<'de> for ComponentIdentity
impl<'de> Deserialize<'de> for ComponentIdentity
deserialize
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ComponentIdentity, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Hash for ComponentIdentity
impl Hash for ComponentIdentity
hash
fn hash<__H>(&self, state: &mut __H)where
__H: Hasher,
hash_slice
fn hash_slice<H>(data: &[Self], state: &mut H)where
H: Hasher,
Self: Sized,
impl Ord for ComponentIdentity
impl Ord for ComponentIdentity
cmp
fn cmp(&self, other: &ComponentIdentity) -> Ordering
max
fn max(self, other: Self) -> Selfwhere
Self: Sized,
min
fn min(self, other: Self) -> Selfwhere
Self: Sized,
clamp
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized,
impl PartialEq for ComponentIdentity
impl PartialEq for ComponentIdentity
eq
fn eq(&self, other: &ComponentIdentity) -> bool
ne
fn ne(&self, other: &Rhs) -> bool
impl PartialOrd for ComponentIdentity
impl PartialOrd for ComponentIdentity
partial_cmp
fn partial_cmp(&self, other: &ComponentIdentity) -> Option<Ordering>
lt
fn lt(&self, other: &Rhs) -> bool
le
fn le(&self, other: &Rhs) -> bool
gt
fn gt(&self, other: &Rhs) -> bool
ge
fn ge(&self, other: &Rhs) -> bool
impl Serialize for ComponentIdentity
impl Serialize for ComponentIdentity
serialize
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl Eq for ComponentIdentity
impl Eq for ComponentIdentity
impl StructuralPartialEq for ComponentIdentity
impl StructuralPartialEq for ComponentIdentity