Struct google_cloudtrace2::Annotation [−][src]
pub struct Annotation {
pub attributes: Option<Attributes>,
pub description: Option<TruncatableString>,
}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
impl Default for Annotation[src]
impl Default for Annotationfn default() -> Annotation[src]
fn default() -> AnnotationReturns the "default value" for a type. Read more
impl Clone for Annotation[src]
impl Clone for Annotationfn clone(&self) -> Annotation[src]
fn clone(&self) -> AnnotationReturns 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 Annotation[src]
impl Debug for Annotationfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Part for Annotation[src]
impl Part for AnnotationAuto Trait Implementations
impl Send for Annotation
impl Send for Annotationimpl Sync for Annotation
impl Sync for Annotation