pub struct EncodeConfig {
pub include_current_span: bool,
pub include_span_list: bool,
}Expand description
Controls which span context is included during encoding.
Fields§
§include_current_span: boolInclude the current span object.
include_span_list: boolInclude the full entered span chain.
Trait Implementations§
Source§impl Clone for EncodeConfig
impl Clone for EncodeConfig
Source§fn clone(&self) -> EncodeConfig
fn clone(&self) -> EncodeConfig
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 EncodeConfig
impl Debug for EncodeConfig
Source§impl Default for EncodeConfig
impl Default for EncodeConfig
Source§impl PartialEq for EncodeConfig
impl PartialEq for EncodeConfig
impl Copy for EncodeConfig
impl Eq for EncodeConfig
impl StructuralPartialEq for EncodeConfig
Auto Trait Implementations§
impl Freeze for EncodeConfig
impl RefUnwindSafe for EncodeConfig
impl Send for EncodeConfig
impl Sync for EncodeConfig
impl Unpin for EncodeConfig
impl UnsafeUnpin for EncodeConfig
impl UnwindSafe for EncodeConfig
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