pub struct CorrelationId(pub Ulid);Expand description
Cross-trace correlation identifier (joins related causal chains for audit).
Wire format: cor _<26-char Crockford ULID>.
Tuple Fields§
§0: UlidImplementations§
Source§impl CorrelationId
impl CorrelationId
Trait Implementations§
Source§impl Clone for CorrelationId
impl Clone for CorrelationId
Source§fn clone(&self) -> CorrelationId
fn clone(&self) -> CorrelationId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CorrelationId
impl Debug for CorrelationId
Source§impl Default for CorrelationId
impl Default for CorrelationId
Source§impl<'de> Deserialize<'de> for CorrelationId
impl<'de> Deserialize<'de> for CorrelationId
Source§fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(de: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CorrelationId
impl Display for CorrelationId
Source§impl FromStr for CorrelationId
impl FromStr for CorrelationId
Source§impl Hash for CorrelationId
impl Hash for CorrelationId
Source§impl JsonSchema for CorrelationId
impl JsonSchema for CorrelationId
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn json_schema(_: &mut SchemaGenerator) -> Schema
fn json_schema(_: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreSource§impl Ord for CorrelationId
impl Ord for CorrelationId
Source§fn cmp(&self, other: &CorrelationId) -> Ordering
fn cmp(&self, other: &CorrelationId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CorrelationId
impl PartialEq for CorrelationId
Source§fn eq(&self, other: &CorrelationId) -> bool
fn eq(&self, other: &CorrelationId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CorrelationId
impl PartialOrd for CorrelationId
Source§impl Serialize for CorrelationId
impl Serialize for CorrelationId
impl Copy for CorrelationId
impl Eq for CorrelationId
impl StructuralPartialEq for CorrelationId
Auto Trait Implementations§
impl Freeze for CorrelationId
impl RefUnwindSafe for CorrelationId
impl Send for CorrelationId
impl Sync for CorrelationId
impl Unpin for CorrelationId
impl UnsafeUnpin for CorrelationId
impl UnwindSafe for CorrelationId
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more