[−][src]Struct logtest::Record
The "payload" of a log message.
Implementations
impl Record
[src]
pub fn args(&self) -> &str
[src]
The message body.
pub fn level(&self) -> Level
[src]
The verbosity level of the message.
pub fn target(&self) -> &str
[src]
The name of the target of the directive.
pub fn key_values(&self) -> Vec<(String, String)>
[src]
The structured key-value pairs associated with the message.
Trait Implementations
impl Debug for Record
[src]
impl Eq for Record
[src]
impl PartialEq<Record> for Record
[src]
impl StructuralEq for Record
[src]
impl StructuralPartialEq for Record
[src]
Auto Trait Implementations
impl RefUnwindSafe for Record
impl Send for Record
impl Sync for Record
impl Unpin for Record
impl UnwindSafe for Record
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,