pub enum DetailLevel {
Minimal,
Medium,
Full,
}Expand description
Controls the level of detail captured in trace spans.
Each variant progressively adds more fields to the trace output:
Minimal: Includes only the core fields (correlation_id, route_id, step_id, step_index, timestamp, duration_ms, status)Medium: Includes Minimal fields plus headers_count, body_type, has_error, and output_body_typeFull: Includes all fields from Minimal and Medium plus up to 3 message headers
Variants§
Trait Implementations§
Source§impl Clone for DetailLevel
impl Clone for DetailLevel
Source§fn clone(&self) -> DetailLevel
fn clone(&self) -> DetailLevel
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 DetailLevel
impl Debug for DetailLevel
Source§impl Default for DetailLevel
impl Default for DetailLevel
Source§fn default() -> DetailLevel
fn default() -> DetailLevel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DetailLevel
impl<'de> Deserialize<'de> for DetailLevel
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
Source§impl Ord for DetailLevel
impl Ord for DetailLevel
Source§fn cmp(&self, other: &DetailLevel) -> Ordering
fn cmp(&self, other: &DetailLevel) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DetailLevel
impl PartialEq for DetailLevel
Source§impl PartialOrd for DetailLevel
impl PartialOrd for DetailLevel
impl Eq for DetailLevel
impl StructuralPartialEq for DetailLevel
Auto Trait Implementations§
impl Freeze for DetailLevel
impl RefUnwindSafe for DetailLevel
impl Send for DetailLevel
impl Sync for DetailLevel
impl Unpin for DetailLevel
impl UnsafeUnpin for DetailLevel
impl UnwindSafe for DetailLevel
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