[][src]Enum nakadi_types::event_type::Category

pub enum Category {
    Undefined,
    Data,
    Business,
}

Defines the category of this EventType.

The value set will influence, if not set otherwise, the default set of validations, enrichment-strategies, and the effective schema for validation.

See also Nakadi Manual

Variants

Undefined

No predefined changes apply. The effective schema for the validation is exactly the same as the EventTypeSchema.

Data

Events of this category will be DataChangeEvents. The effective schema during the validation contains metadata, and adds fields data_op and data_type. The passed EventTypeSchema defines the schema of data.

Business

Events of this category will be BusinessEvents. The effective schema for validation contains metadata and any additionally defined properties passed in the EventTypeSchema directly on top level of the Event. If name conflicts arise, creation of this EventType will be rejected.

Trait Implementations

impl Clone for Category[src]

impl Copy for Category[src]

impl Debug for Category[src]

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

impl Eq for Category[src]

impl PartialEq<Category> for Category[src]

impl Serialize for Category[src]

impl StructuralEq for Category[src]

impl StructuralPartialEq for Category[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>,