[][src]Struct nakadi_types::model::event_type::EventType

pub struct EventType {
    pub name: EventTypeName,
    pub owning_application: Option<OwningApplication>,
    pub category: Category,
    pub enrichment_strategies: Vec<EnrichmentStrategy>,
    pub partition_strategy: Option<PartitionStrategy>,
    pub compatibility_mode: Option<CompatibilityMode>,
    pub schema: EventTypeSchema,
    pub partition_key_fields: PartitionKeyFields,
    pub cleanup_policy: Option<CleanupPolicy>,
    pub default_statistic: Option<EventTypeStatistics>,
    pub options: EventTypeOptions,
    pub authorization: Option<EventTypeAuthorization>,
    pub audience: Option<EventTypeAudience>,
    pub ordering_key_fields: Vec<String>,
    pub ordering_instance_ids: Vec<String>,
    pub created_at: DateTime<Utc>,
    pub updated_at: DateTime<Utc>,
}

Definition of an event type

This struct is only used for querying from Nakadi.

See also Nakadi Manual

Fields

name: EventTypeNameowning_application: Option<OwningApplication>category: Categoryenrichment_strategies: Vec<EnrichmentStrategy>partition_strategy: Option<PartitionStrategy>compatibility_mode: Option<CompatibilityMode>schema: EventTypeSchemapartition_key_fields: PartitionKeyFieldscleanup_policy: Option<CleanupPolicy>default_statistic: Option<EventTypeStatistics>options: EventTypeOptionsauthorization: Option<EventTypeAuthorization>audience: Option<EventTypeAudience>ordering_key_fields: Vec<String>ordering_instance_ids: Vec<String>created_at: DateTime<Utc>updated_at: DateTime<Utc>

Trait Implementations

impl Clone for EventType[src]

impl Debug for EventType[src]

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

impl Serialize for EventType[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: 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>,