Struct hotg_rune_core::SerializableRecord [−][src]
pub struct SerializableRecord<'a> { pub level: Level, pub message: Cow<'a, str>, pub target: Cow<'a, str>, pub module_path: Option<Cow<'a, str>>, pub file: Option<Cow<'a, str>>, pub line: Option<u32>, }
Expand description
A serializable version of log::Record
.
Fields
level: Level
message: Cow<'a, str>
target: Cow<'a, str>
module_path: Option<Cow<'a, str>>
file: Option<Cow<'a, str>>
line: Option<u32>
Implementations
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<'a> Send for SerializableRecord<'a>
impl<'a> Sync for SerializableRecord<'a>
impl<'a> Unpin for SerializableRecord<'a>