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 Annotation
fn default() -> Annotation
[src]
fn default() -> Annotation
Returns the "default value" for a type. Read more
impl Clone for Annotation
[src]
impl Clone for Annotation
fn clone(&self) -> Annotation
[src]
fn clone(&self) -> Annotation
Returns 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 Annotation
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for Annotation
[src]
impl Part for Annotation
Auto Trait Implementations
impl Send for Annotation
impl Send for Annotation
impl Sync for Annotation
impl Sync for Annotation