Enum Atof Endpoint Field Name Policy

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

1pub enum AtofEndpointFieldNamePolicy {
2 Preserve,
3 ReplaceDots,
4}

Field name transformation policy used before sending events to an endpoint.

Variants

Preserve

Preserve

Preserve canonical ATOF field names exactly.

ReplaceDots

ReplaceDots

Replace dots in JSON object keys with underscores, recursively.

Implementations

impl AtofEndpointFieldNamePolicy

impl AtofEndpointFieldNamePolicy

parse

pub fn parse(value: &str) -> Option<Self>

Parse a string policy used by configuration and bindings.

as_str

pub fn as_str(self) -> &'static str

Return the stable string representation used by configuration and bindings.

Trait Implementations

impl Clone for AtofEndpointFieldNamePolicy

impl Clone for AtofEndpointFieldNamePolicy

clone

fn clone(&self) -> AtofEndpointFieldNamePolicy

clone_from

fn clone_from(&mut self, source: &Self)

impl Debug for AtofEndpointFieldNamePolicy

impl Debug for AtofEndpointFieldNamePolicy

fmt

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl Default for AtofEndpointFieldNamePolicy

impl Default for AtofEndpointFieldNamePolicy

default

fn default() -> AtofEndpointFieldNamePolicy

impl<'de> Deserialize<'de> for AtofEndpointFieldNamePolicy

impl<'de> Deserialize<'de> for AtofEndpointFieldNamePolicy

deserialize

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
    __D: Deserializer<'de>,

impl PartialEq for AtofEndpointFieldNamePolicy

impl PartialEq for AtofEndpointFieldNamePolicy

eq

fn eq(&self, other: &AtofEndpointFieldNamePolicy) -> bool

ne

fn ne(&self, other: &Rhs) -> bool

impl Serialize for AtofEndpointFieldNamePolicy

impl Serialize for AtofEndpointFieldNamePolicy

serialize

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where
    __S: Serializer,

impl Copy for AtofEndpointFieldNamePolicy

impl Copy for AtofEndpointFieldNamePolicy

impl Eq for AtofEndpointFieldNamePolicy

impl Eq for AtofEndpointFieldNamePolicy

impl StructuralPartialEq for AtofEndpointFieldNamePolicy

impl StructuralPartialEq for AtofEndpointFieldNamePolicy