Skip to main content

write_annotation

Function write_annotation 

Source
pub fn write_annotation(
    entry_id: &str,
    note: &str,
    kind: AnnotationKind,
    severity: Option<String>,
) -> Annotation
Expand description

Write a personal annotation. Overwrites any existing annotation for this entry. Severity is only stored when kind=Issue; it is ignored for other kinds.