Enum opentelemetry_api::Value
source · [−]pub enum Value {
Bool(bool),
I64(i64),
F64(f64),
String(StringValue),
Array(Array),
}
Expand description
The value part of attribute KeyValue pairs.
Variants
Bool(bool)
bool values
I64(i64)
i64 values
F64(f64)
f64 values
String(StringValue)
String values
Array(Array)
Array of homogeneous values
Implementations
Trait Implementations
sourceimpl From<StringValue> for Value
impl From<StringValue> for Value
sourcefn from(t: StringValue) -> Self
fn from(t: StringValue) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<Value> for Value
impl PartialEq<Value> for Value
impl StructuralPartialEq for Value
Auto Trait Implementations
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more