[][src]Struct nakadi_types::event::EventMetaData

pub struct EventMetaData {
    pub eid: EventId,
    pub event_type: EventTypeName,
    pub occurred_at: DateTime<Utc>,
    pub received_at: DateTime<Utc>,
    pub parent_eids: Vec<EventId>,
    pub partition: PartitionId,
    pub version: String,
    pub flow_id: FlowId,
}

Metadata of an event

See also Nakadi Manual

Fields

eid: EventId

Identifier of this Event.

Clients MUST generate this value and it SHOULD be guaranteed to be unique from the perspective of the producer. Consumers MIGHT use this value to assert uniqueness of reception of the Event.

event_type: EventTypeName

The EventType of this Event

occurred_at: DateTime<Utc>

Timestamp of creation of the Event generated by the producer.

received_at: DateTime<Utc>

Timestamp of the reception of the Event by Nakadi. This is enriched upon reception of the Event.

parent_eids: Vec<EventId>

Event identifier of the Event that caused the generation of this Event. Set by the producer.

partition: PartitionId

Indicates the partition assigned to this Event.

version: Stringflow_id: FlowId

Trait Implementations

impl Clone for EventMetaData[src]

impl Debug for EventMetaData[src]

impl<'de> Deserialize<'de> for EventMetaData[src]

impl From<EventMetaData> for EventMetaDataPub[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,