Struct annotate_snippets::snippet::Annotation
source · pub struct Annotation {
pub id: Option<String>,
pub label: Option<String>,
pub annotation_type: AnnotationType,
}
Expand description
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§
source§impl Clone for Annotation
impl Clone for Annotation
source§fn clone(&self) -> Annotation
fn clone(&self) -> Annotation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more