Struct google_cloudtrace2::api::Annotation
source · 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§
source§impl Clone for Annotation
impl Clone for Annotation
source§fn clone(&self) -> Annotation
fn clone(&self) -> Annotation
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 Annotation
impl Debug for Annotation
source§impl Default for Annotation
impl Default for Annotation
source§fn default() -> Annotation
fn default() -> Annotation
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for Annotation
impl<'de> Deserialize<'de> for Annotation
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