Struct todotxt::Task [] [src]

pub struct Task {
    pub subject: String,
    pub priority: u8,
    pub create_date: Option<Date>,
    pub finish_date: Option<Date>,
    pub finished: bool,
    pub threshold_date: Option<Date>,
    pub due_date: Option<Date>,
    pub recurrence: Option<Recurrence>,
    pub contexts: Vec<String>,
    pub projects: Vec<String>,
    pub hashtags: Vec<String>,
    pub tags: HashMap<String, String>,
}

Fields

Trait Implementations

impl Debug for Task
[src]

Formats the value using the given formatter.

impl Eq for Task
[src]

impl PartialEq for Task
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Default for Task
[src]

Returns the "default value" for a type. Read more

impl Display for Task
[src]

Formats the value using the given formatter. Read more

impl FromStr for Task
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more