Struct opentelemetry::baggage::BaggageMetadata
source · [−]pub struct BaggageMetadata(_);
Expand description
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
Trait Implementations
sourceimpl Clone for BaggageMetadata
impl Clone for BaggageMetadata
sourcefn clone(&self) -> BaggageMetadata
fn clone(&self) -> BaggageMetadata
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BaggageMetadata
impl Debug for BaggageMetadata
sourceimpl Default for BaggageMetadata
impl Default for BaggageMetadata
sourcefn default() -> BaggageMetadata
fn default() -> BaggageMetadata
Returns the “default value” for a type. Read more
sourceimpl From<&str> for BaggageMetadata
impl From<&str> for BaggageMetadata
sourceimpl From<String> for BaggageMetadata
impl From<String> for BaggageMetadata
sourcefn from(s: String) -> BaggageMetadata
fn from(s: String) -> BaggageMetadata
Converts to this type from the input type.
sourceimpl PartialEq<BaggageMetadata> for BaggageMetadata
impl PartialEq<BaggageMetadata> for BaggageMetadata
sourcefn eq(&self, other: &BaggageMetadata) -> bool
fn eq(&self, other: &BaggageMetadata) -> bool
sourceimpl PartialOrd<BaggageMetadata> for BaggageMetadata
impl PartialOrd<BaggageMetadata> for BaggageMetadata
sourcefn partial_cmp(&self, other: &BaggageMetadata) -> Option<Ordering>
fn partial_cmp(&self, other: &BaggageMetadata) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl StructuralPartialEq for BaggageMetadata
Auto Trait Implementations
impl RefUnwindSafe for BaggageMetadata
impl Send for BaggageMetadata
impl Sync for BaggageMetadata
impl Unpin for BaggageMetadata
impl UnwindSafe for BaggageMetadata
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