Struct nakadi_types::event::publishable::EventMetaDataPub [−][src]
pub struct EventMetaDataPub { pub eid: EventId, pub event_type: Option<EventTypeName>, pub occurred_at: DateTime<Utc>, pub parent_eids: Vec<EventId>, pub partition: Option<PartitionId>, pub flow_id: Option<FlowId>, }
Expand description
Metadata of an event
See also Nakadi Manual
Fields
eid: EventId
Identifier of this Event.
event_type: Option<EventTypeName>
The EventType of this Event. This is enriched by Nakadi on reception of the Event based on the endpoint where the Producer sent the Event to.
If provided MUST match the endpoint. Failure to do so will cause rejection of the Event.
occurred_at: DateTime<Utc>
Timestamp of creation of the Event generated by the producer.
parent_eids: Vec<EventId>
Event identifier of the Event that caused the generation of this Event. Set by the producer.
partition: Option<PartitionId>
Indicates the partition assigned to this Event.
Required to be set by the client if partition strategy of the EventType is ‘user_defined’.
flow_id: Option<FlowId>
Implementations
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for EventMetaDataPub
impl Send for EventMetaDataPub
impl Sync for EventMetaDataPub
impl Unpin for EventMetaDataPub
impl UnwindSafe for EventMetaDataPub
Blanket Implementations
Mutably borrows from an owned value. Read more