Struct google_cloudtrace2::Attributes[][src]

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

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

This type is not used in any activity, and only used as part of another schema.

Fields

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.

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, an 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

Trait Implementations

impl Default for Attributes
[src]

Returns the "default value" for a type. Read more

impl Clone for Attributes
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Attributes
[src]

Formats the value using the given formatter. Read more

impl Part for Attributes
[src]

Auto Trait Implementations

impl Send for Attributes

impl Sync for Attributes