Struct nakadi_types::event::BusinessEvent [−][src]
pub struct BusinessEvent<T> { pub data: T, pub metadata: EventMetaData, }
Expand description
A BusinessEvent
template for consumption of events
See also Nakadi Manual
Fields
data: T
metadata: EventMetaData
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl<T> RefUnwindSafe for BusinessEvent<T> where
T: RefUnwindSafe,
impl<T> Send for BusinessEvent<T> where
T: Send,
impl<T> Sync for BusinessEvent<T> where
T: Sync,
impl<T> Unpin for BusinessEvent<T> where
T: Unpin,
impl<T> UnwindSafe for BusinessEvent<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more