Trait tracing_serde_structured::AsSerde

source ·
pub trait AsSerde<'a>: Sealed {
    type Serializable: Serialize + 'a;

    // Required method
    fn as_serde(&'a self) -> Self::Serializable;
}

Required Associated Types§

Required Methods§

source

fn as_serde(&'a self) -> Self::Serializable

as_serde borrows a tracing value and returns the serialized value.

Implementations on Foreign Types§

source§

impl<'a> AsSerde<'a> for Event<'a>

source§

impl<'a> AsSerde<'a> for Level

source§

impl<'a> AsSerde<'a> for Metadata<'a>

source§

impl<'a> AsSerde<'a> for Attributes<'a>

source§

impl<'a> AsSerde<'a> for Id

source§

impl<'a> AsSerde<'a> for Record<'a>

Implementors§