[][src]Struct opentelemetry_stackdriver::proto::google::devtools::cloudtrace::v2::span::Attributes

pub struct Attributes {
    pub attribute_map: HashMap<String, AttributeValue>,
    pub dropped_attributes_count: i32,
}

A set of attributes, each in the format [KEY]:[VALUE].

Fields

attribute_map: HashMap<String, AttributeValue>

The set of attributes. Each attribute's key can be up to 128 bytes long. The value can be a string up to 256 bytes, a signed 64-bit integer, or the Boolean values true and false. For example:

"/instance_id": "my-instance"
"/http/user_agent": ""
"/http/request_bytes": 300
"abc.com/myattribute": true
dropped_attributes_count: i32

The number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0 then all attributes are valid.

Trait Implementations

impl Clone for Attributes[src]

impl Debug for Attributes[src]

impl Default for Attributes[src]

impl Message for Attributes[src]

impl PartialEq<Attributes> for Attributes[src]

impl StructuralPartialEq for Attributes[src]

Auto Trait Implementations

impl RefUnwindSafe for Attributes

impl Send for Attributes

impl Sync for Attributes

impl Unpin for Attributes

impl UnwindSafe for Attributes

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> From<T> for T[src]

impl<T> FutureExt 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> IntoRequest<T> for T[src]

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>, 
[src]

impl<T> WithSubscriber for T[src]