Struct opentelemetry::sdk::AttributeSet
source · pub struct AttributeSet(_);
Expand description
Implementations§
Trait Implementations§
source§impl Clone for AttributeSet
impl Clone for AttributeSet
source§fn clone(&self) -> AttributeSet
fn clone(&self) -> AttributeSet
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AttributeSet
impl Debug for AttributeSet
source§impl From<&[KeyValue]> for AttributeSet
impl From<&[KeyValue]> for AttributeSet
source§fn from(values: &[KeyValue]) -> AttributeSet
fn from(values: &[KeyValue]) -> AttributeSet
Converts to this type from the input type.
source§impl From<&Resource> for AttributeSet
impl From<&Resource> for AttributeSet
source§fn from(values: &Resource) -> AttributeSet
fn from(values: &Resource) -> AttributeSet
Converts to this type from the input type.
source§impl Hash for AttributeSet
impl Hash for AttributeSet
source§impl PartialEq<AttributeSet> for AttributeSet
impl PartialEq<AttributeSet> for AttributeSet
source§fn eq(&self, other: &AttributeSet) -> bool
fn eq(&self, other: &AttributeSet) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AttributeSet
impl StructuralEq for AttributeSet
impl StructuralPartialEq for AttributeSet
Auto Trait Implementations§
impl RefUnwindSafe for AttributeSet
impl Send for AttributeSet
impl Sync for AttributeSet
impl Unpin for AttributeSet
impl UnwindSafe for AttributeSet
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.