Struct annotate_snippets::snippet::TitleAnnotation
[−]
[src]
pub struct TitleAnnotation { pub id: Option<String>, pub label: Option<String>, pub annotation_type: AnnotationType, }
An annotation used to describe the whole 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 TitleAnnotation
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for TitleAnnotation
[src]
fn clone(&self) -> TitleAnnotation
[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