Struct nakadi_types::event::DataChangeEvent [−][src]
pub struct DataChangeEvent<T> { pub data: T, pub data_type: DataType, pub data_op: DataOp, pub metadata: EventMetaData, }
Expand description
A DataChangeEvent
template for consumption of events
Represents a change on a resource. Also contains indicators for the data type and the type of operation performed.
See also Nakadi Manual
Fields
data: T
The payload of the type
data_type: DataType
data_op: DataOp
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 DataChangeEvent<T> where
T: RefUnwindSafe,
impl<T> Send for DataChangeEvent<T> where
T: Send,
impl<T> Sync for DataChangeEvent<T> where
T: Sync,
impl<T> Unpin for DataChangeEvent<T> where
T: Unpin,
impl<T> UnwindSafe for DataChangeEvent<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more