logo
pub struct SerializeEvent<'a> {
    pub fields: SerializeRecordFields<'a>,
    pub metadata: SerializeMetadata<'a>,
    pub parent: Option<SerializeId>,
}
Expand description

Implements serde::Serialize to write Event data to a serializer.

Fields

fields: SerializeRecordFields<'a>metadata: SerializeMetadata<'a>parent: Option<SerializeId>

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

SAFETY: If all data is ’static and/or owned, it is safe to send between threads.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.