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§
type Serializable: Serialize + 'a
Required Methods§
sourcefn as_serde(&'a self) -> Self::Serializable
fn as_serde(&'a self) -> Self::Serializable
as_serde
borrows a tracing
value and returns the serialized value.