Struct task_hookrs::annotation::Annotation [] [src]

pub struct Annotation { /* fields omitted */ }

Annotation type for task annotations. Each annotation in taskwarrior consists of a date and a description, the date is named "entry", the description "description" in the JSON export.

Methods

impl Annotation
[src]

[src]

Create a new Annotation object

[src]

Get the entry date

[src]

Get the entry date mutable

[src]

Get the description text

[src]

Get the description text mutable

Trait Implementations

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

impl Debug for Annotation
[src]

[src]

Formats the value using the given formatter.