[][src]Struct logtest::Record

pub struct Record { /* fields omitted */ }

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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.