Trait cloudevents::message::StructuredDeserializer[][src]

pub trait StructuredDeserializer where
    Self: Sized
{ fn deserialize_structured<R: Sized, V: StructuredSerializer<R>>(
        self,
        serializer: V
    ) -> Result<R>; fn into_event(self) -> Result<Event> { ... } }
Expand description

Deserializer trait for a Message that can be encoded as structured mode.

Required methods

Deserialize the message to StructuredSerializer.

Provided methods

Convert this Message to Event.

Implementors