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]

Create a new Annotation object

Get the entry date

Get the description text

Trait Implementations

impl Clone for Annotation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Annotation
[src]

Formats the value using the given formatter.

impl Serialize for Annotation
[src]

Serializes this value into this serializer.

impl Deserialize for Annotation
[src]

Deserialize this value given this Deserializer.