Struct wireplumber::log::StructuredLogContext
source · pub struct StructuredLogContext<'a, O = Object> {
pub domain: Option<&'a str>,
pub file: Option<&'static str>,
pub line: Option<u32>,
pub function: Option<&'a str>,
pub object: Option<&'a O>,
pub object_type: Option<Type>,
}
Fields§
§domain: Option<&'a str>
§file: Option<&'static str>
§line: Option<u32>
§function: Option<&'a str>
§object: Option<&'a O>
§object_type: Option<Type>
Trait Implementations§
source§impl<'a, O: Clone> Clone for StructuredLogContext<'a, O>
impl<'a, O: Clone> Clone for StructuredLogContext<'a, O>
source§fn clone(&self) -> StructuredLogContext<'a, O>
fn clone(&self) -> StructuredLogContext<'a, O>
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<'a, O: Debug> Debug for StructuredLogContext<'a, O>
impl<'a, O: Debug> Debug for StructuredLogContext<'a, O>
source§impl<'a, O: Default> Default for StructuredLogContext<'a, O>
impl<'a, O: Default> Default for StructuredLogContext<'a, O>
source§fn default() -> StructuredLogContext<'a, O>
fn default() -> StructuredLogContext<'a, O>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a, O> Freeze for StructuredLogContext<'a, O>
impl<'a, O> RefUnwindSafe for StructuredLogContext<'a, O>where
O: RefUnwindSafe,
impl<'a, O> Send for StructuredLogContext<'a, O>where
O: Sync,
impl<'a, O> Sync for StructuredLogContext<'a, O>where
O: Sync,
impl<'a, O> Unpin for StructuredLogContext<'a, O>
impl<'a, O> UnwindSafe for StructuredLogContext<'a, O>where
O: RefUnwindSafe,
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