Struct google_cloudtrace2::api::AttributeValue [−][src]
pub struct AttributeValue {
pub bool_value: Option<bool>,
pub int_value: Option<String>,
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<String>A 64-bit signed integer.
string_value: Option<TruncatableString>A string up to 256 bytes long.
Trait Implementations
Returns the “default value” for a type. Read more
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
Auto Trait Implementations
impl RefUnwindSafe for AttributeValue
impl Send for AttributeValue
impl Sync for AttributeValue
impl Unpin for AttributeValue
impl UnwindSafe for AttributeValue
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more