Struct annotate_snippets::snippet::Annotation [] [src]

pub struct Annotation {
    pub id: Option<String>,
    pub label: Option<String>,
    pub annotation_type: AnnotationType,
}

An annotation for a Snippet.

Fields

Identifier of the annotation. Usually error code like "E0308".

Trait Implementations

impl Debug for Annotation
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for Annotation
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for Annotation

impl Sync for Annotation