Enum nakadi_types::event_type::EnrichmentStrategy [−][src]
#[non_exhaustive] pub enum EnrichmentStrategy { MetadataEnrichment, }
Expand description
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)
This enum is marked as 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
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
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
Mutably borrows from an owned value. Read more