pub struct CorrelationHeaders {
pub correlation_id: String,
pub request_id: String,
pub parent_request_id: String,
pub trace_id: String,
pub span_id: String,
pub user_id: String,
pub session_id: String,
}
Expand description
HTTP headers used for correlation propagation
Fields§
§correlation_id: String
Correlation ID header
request_id: String
Request ID header
parent_request_id: String
Parent request ID header
trace_id: String
Trace ID header (OpenTelemetry)
span_id: String
Span ID header (OpenTelemetry)
user_id: String
User ID header
session_id: String
Session ID header
Trait Implementations§
Source§impl Clone for CorrelationHeaders
impl Clone for CorrelationHeaders
Source§fn clone(&self) -> CorrelationHeaders
fn clone(&self) -> CorrelationHeaders
Returns a duplicate of the value. Read more
1.0.0 · 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 CorrelationHeaders
impl Debug for CorrelationHeaders
Source§impl Default for CorrelationHeaders
impl Default for CorrelationHeaders
Source§impl<'de> Deserialize<'de> for CorrelationHeaders
impl<'de> Deserialize<'de> for CorrelationHeaders
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CorrelationHeaders
impl RefUnwindSafe for CorrelationHeaders
impl Send for CorrelationHeaders
impl Sync for CorrelationHeaders
impl Unpin for CorrelationHeaders
impl UnwindSafe for CorrelationHeaders
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