pub struct OtelConfig {
pub capture_input: bool,
pub capture_output: bool,
}Expand description
Configuration for the OTel hook.
Fields§
§capture_input: boolWhether to capture input message content in span attributes. Disabled by default for privacy.
capture_output: boolWhether to capture output message content in span attributes. Disabled by default for privacy.
Trait Implementations§
Source§impl Clone for OtelConfig
impl Clone for OtelConfig
Source§fn clone(&self) -> OtelConfig
fn clone(&self) -> OtelConfig
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 OtelConfig
impl Debug for OtelConfig
Source§impl Default for OtelConfig
impl Default for OtelConfig
Source§fn default() -> OtelConfig
fn default() -> OtelConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for OtelConfig
impl RefUnwindSafe for OtelConfig
impl Send for OtelConfig
impl Sync for OtelConfig
impl Unpin for OtelConfig
impl UnsafeUnpin for OtelConfig
impl UnwindSafe for OtelConfig
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