pub trait StructuredSerializer<RETURN: Sized> {
// Required method
fn set_structured_event(self, bytes: Vec<u8>) -> Result<RETURN>;
}Expand description
Serializer for structured mode messages.
Required Methods§
fn set_structured_event(self, bytes: Vec<u8>) -> Result<RETURN>
Implementors§
impl StructuredSerializer<MessageRecord> for MessageRecord
Available on crate feature
rdkafka only.impl StructuredSerializer<RequestBuilder> for RequestSerializer
Available on crate feature
reqwest only.impl<T> StructuredSerializer<T> for cloudevents::binding::http::Serializer<T>
Available on crate features
http-binding or reqwest or axum or poem only.impl<T> StructuredSerializer<T> for cloudevents::binding::http_0_2::Serializer<T>
Available on crate features
http-0-2-binding or actix or warp only.