Enum Attribute Value

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.

pub enum AttributeValue {
    String(String),
    Bool(bool),
    I64(i64),
    F64(FiniteF64),
    StringArray(Vec<String>),
    BoolArray(Vec<bool>),
    I64Array(Vec<i64>),
    F64Array(Vec<FiniteF64>),
}

Typed OpenTelemetry attribute values, including homogeneous primitive arrays.

Variants

String(String)

String(String)

String scalar.

Bool(bool)

Bool(bool)

Boolean scalar.

I64(i64)

I64(i64)

Signed integer scalar.

F64(FiniteF64)

F64(FiniteF64)

Finite floating-point scalar.

StringArray(Vec<String>)

StringArray(Vec<String>)

String array.

BoolArray(Vec<bool>)

BoolArray(Vec<bool>)

Boolean array.

I64Array(Vec<i64>)

I64Array(Vec<i64>)

Signed integer array.

F64Array(Vec<FiniteF64>)

F64Array(Vec<FiniteF64>)

Finite floating-point array.

Trait Implementations

impl Clone for AttributeValue

impl Clone for AttributeValue

clone

fn clone(&self) -> AttributeValue

clone_from

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

impl Debug for AttributeValue

impl Debug for AttributeValue

fmt

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

impl PartialEq for AttributeValue

impl PartialEq for AttributeValue

eq

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

ne

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

impl StructuralPartialEq for AttributeValue

impl StructuralPartialEq for AttributeValue