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
id: Option<String>
Identifier of the annotation. Usually error code like "E0308".
label: Option<String>
annotation_type: AnnotationType
Trait Implementations
impl Debug for Annotation
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for Annotation
[src]
fn clone(&self) -> Annotation
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more