pub struct CorrelationConfig {
pub correlation_header: String,
pub cross_service: bool,
pub id_format: CorrelationIdFormat,
}Expand description
Correlation configuration
Fields§
§correlation_header: StringCorrelation ID header name
cross_service: boolEnable cross-service correlation
id_format: CorrelationIdFormatCorrelation ID format
Trait Implementations§
Source§impl Clone for CorrelationConfig
impl Clone for CorrelationConfig
Source§fn clone(&self) -> CorrelationConfig
fn clone(&self) -> CorrelationConfig
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 CorrelationConfig
impl Debug for CorrelationConfig
Source§impl Default for CorrelationConfig
impl Default for CorrelationConfig
Source§impl<'de> Deserialize<'de> for CorrelationConfig
impl<'de> Deserialize<'de> for CorrelationConfig
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 CorrelationConfig
impl RefUnwindSafe for CorrelationConfig
impl Send for CorrelationConfig
impl Sync for CorrelationConfig
impl Unpin for CorrelationConfig
impl UnwindSafe for CorrelationConfig
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