[−][src]Enum nakadi_types::event_type::EnrichmentStrategy
Determines the enrichment to be performed on an Event upon reception. Enrichment is performed once upon reception (and after validation) of an Event and is only possible on fields that are not defined on the incoming Event.
For event types in categories business
or data
it’s mandatory to use
metadata_enrichment strategy. For undefined
event types it’s not possible to use this
strategy, since metadata field is not required.
See documentation for the write operation for details on behaviour in case of unsuccessful enrichment.
See also Nakadi Manual
Variants (Non-exhaustive)
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations
impl Clone for EnrichmentStrategy
[src]
fn clone(&self) -> EnrichmentStrategy
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for EnrichmentStrategy
[src]
impl Debug for EnrichmentStrategy
[src]
impl Default for EnrichmentStrategy
[src]
impl<'de> Deserialize<'de> for EnrichmentStrategy
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Eq for EnrichmentStrategy
[src]
impl PartialEq<EnrichmentStrategy> for EnrichmentStrategy
[src]
fn eq(&self, other: &EnrichmentStrategy) -> bool
[src]
#[must_use]fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
impl Serialize for EnrichmentStrategy
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralEq for EnrichmentStrategy
[src]
impl StructuralPartialEq for EnrichmentStrategy
[src]
Auto Trait Implementations
impl RefUnwindSafe for EnrichmentStrategy
impl Send for EnrichmentStrategy
impl Sync for EnrichmentStrategy
impl Unpin for EnrichmentStrategy
impl UnwindSafe for EnrichmentStrategy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,