pub struct InstrumentLogOptions {
pub level: Option<String>,
pub enable_trace: bool,
}Fields§
§level: Option<String>§enable_trace: boolTrait Implementations§
source§impl Clone for InstrumentLogOptions
impl Clone for InstrumentLogOptions
source§fn clone(&self) -> InstrumentLogOptions
fn clone(&self) -> InstrumentLogOptions
Returns a copy 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 InstrumentLogOptions
impl Debug for InstrumentLogOptions
source§impl Default for InstrumentLogOptions
impl Default for InstrumentLogOptions
source§impl<'de> Deserialize<'de> for InstrumentLogOptionswhere
InstrumentLogOptions: Default,
impl<'de> Deserialize<'de> for InstrumentLogOptionswhere InstrumentLogOptions: Default,
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 PartialEq<InstrumentLogOptions> for InstrumentLogOptions
impl PartialEq<InstrumentLogOptions> for InstrumentLogOptions
source§fn eq(&self, other: &InstrumentLogOptions) -> bool
fn eq(&self, other: &InstrumentLogOptions) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for InstrumentLogOptions
impl Serialize for InstrumentLogOptions
impl StructuralPartialEq for InstrumentLogOptions
Auto Trait Implementations§
impl RefUnwindSafe for InstrumentLogOptions
impl Send for InstrumentLogOptions
impl Sync for InstrumentLogOptions
impl Unpin for InstrumentLogOptions
impl UnwindSafe for InstrumentLogOptions
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