pub struct LoggingMessage {
pub level: LoggingLevel,
pub logger: Option<String>,
pub data: Value,
}
Expand description
A log message
Fields§
§level: LoggingLevel
§logger: Option<String>
§data: Value
Trait Implementations§
Source§impl Clone for LoggingMessage
impl Clone for LoggingMessage
Source§fn clone(&self) -> LoggingMessage
fn clone(&self) -> LoggingMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LoggingMessage
impl Debug for LoggingMessage
Source§impl<'de> Deserialize<'de> for LoggingMessage
impl<'de> Deserialize<'de> for LoggingMessage
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 LoggingMessage
impl RefUnwindSafe for LoggingMessage
impl Send for LoggingMessage
impl Sync for LoggingMessage
impl Unpin for LoggingMessage
impl UnwindSafe for LoggingMessage
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