Struct google_cloudtrace2::api::AttributeValue
source · pub struct AttributeValue {
pub bool_value: Option<bool>,
pub int_value: Option<i64>,
pub string_value: Option<TruncatableString>,
}Expand description
The allowed types for [VALUE] in a [KEY]:[VALUE] attribute.
This type is not used in any activity, and only used as part of another schema.
Fields§
§bool_value: Option<bool>A Boolean value represented by true or false.
int_value: Option<i64>A 64-bit signed integer.
string_value: Option<TruncatableString>A string up to 256 bytes long.
Trait Implementations§
source§impl Clone for AttributeValue
impl Clone for AttributeValue
source§fn clone(&self) -> AttributeValue
fn clone(&self) -> AttributeValue
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 AttributeValue
impl Debug for AttributeValue
source§impl Default for AttributeValue
impl Default for AttributeValue
source§fn default() -> AttributeValue
fn default() -> AttributeValue
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for AttributeValue
impl<'de> Deserialize<'de> for AttributeValue
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more