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
dropped_attributes_count: Option<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.
attribute_map: Option<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, 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]
impl Default for Attributes
fn default() -> Attributes
[src]
fn default() -> Attributes
Returns the "default value" for a type. Read more
impl Clone for Attributes
[src]
impl Clone for Attributes
fn clone(&self) -> Attributes
[src]
fn clone(&self) -> Attributes
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Attributes
[src]
impl Debug for Attributes
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for Attributes
[src]
impl Part for Attributes
Auto Trait Implementations
impl Send for Attributes
impl Send for Attributes
impl Sync for Attributes
impl Sync for Attributes