Struct google_cloudtrace2::api::Annotation [−][src]
pub struct Annotation {
pub attributes: Option<Attributes>,
pub description: Option<TruncatableString>,
}Expand description
Text annotation with a set of attributes.
This type is not used in any activity, and only used as part of another schema.
Fields
attributes: Option<Attributes>A set of attributes on the annotation. You can have up to 4 attributes per Annotation.
description: Option<TruncatableString>A user-supplied message describing the event. The maximum length for the description is 256 bytes.
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 Annotation
impl Send for Annotation
impl Sync for Annotation
impl Unpin for Annotation
impl UnwindSafe for Annotation
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more