[][src]Struct opentelemetry::baggage::BaggageMetadata

pub struct BaggageMetadata(_);

An optional property set that can be added to Baggage values.

BaggageMetadata can be added to values in the form of a property set, represented as semi-colon ; delimited list of names and/or name-value pairs, e.g. ;k1=v1;k2;k3=v3.

Implementations

impl BaggageMetadata[src]

pub fn as_str(&self) -> &str[src]

Return underlying string

Trait Implementations

impl Clone for BaggageMetadata[src]

impl Debug for BaggageMetadata[src]

impl Default for BaggageMetadata[src]

impl<'de> Deserialize<'de> for BaggageMetadata[src]

impl From<&'_ str> for BaggageMetadata[src]

impl From<String> for BaggageMetadata[src]

impl PartialEq<BaggageMetadata> for BaggageMetadata[src]

impl PartialOrd<BaggageMetadata> for BaggageMetadata[src]

impl Serialize for BaggageMetadata[src]

impl StructuralPartialEq for BaggageMetadata[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,