pub struct LogSource {
pub module: Option<String>,
pub file: Option<String>,
pub line: Option<u32>,
pub target: Option<String>,
}Expand description
Source of the log entry
Fields§
§module: Option<String>§file: Option<String>§line: Option<u32>§target: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for LogSource
impl<'de> Deserialize<'de> for LogSource
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
Auto Trait Implementations§
impl Freeze for LogSource
impl RefUnwindSafe for LogSource
impl Send for LogSource
impl Sync for LogSource
impl Unpin for LogSource
impl UnsafeUnpin for LogSource
impl UnwindSafe for LogSource
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