pub struct CorrelationIdConfig {
pub enabled: bool,
pub header_name: String,
}Expand description
Correlation ID configuration for request tracing.
Fields§
§enabled: boolWhether correlation IDs are enabled.
header_name: StringThe header name to use for correlation IDs.
Trait Implementations§
Source§impl Clone for CorrelationIdConfig
impl Clone for CorrelationIdConfig
Source§fn clone(&self) -> CorrelationIdConfig
fn clone(&self) -> CorrelationIdConfig
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 CorrelationIdConfig
impl Debug for CorrelationIdConfig
Auto Trait Implementations§
impl Freeze for CorrelationIdConfig
impl RefUnwindSafe for CorrelationIdConfig
impl Send for CorrelationIdConfig
impl Sync for CorrelationIdConfig
impl Unpin for CorrelationIdConfig
impl UnsafeUnpin for CorrelationIdConfig
impl UnwindSafe for CorrelationIdConfig
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