pub struct Parameter<'a> {
pub directive_env_key: &'a str,
pub display_source: bool,
pub display_target: bool,
pub color: bool,
}
Expand description
A Parameter to configure tracing subscriber.
Fields§
§directive_env_key: &'a str
Default RUST_LOG.
display_source: bool
§display_target: bool
§color: bool
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Parameter<'a>
impl<'a> RefUnwindSafe for Parameter<'a>
impl<'a> Send for Parameter<'a>
impl<'a> Sync for Parameter<'a>
impl<'a> Unpin for Parameter<'a>
impl<'a> UnwindSafe for Parameter<'a>
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