Struct todotxt::TodoItem [] [src]

pub struct TodoItem {
    pub line: String,
    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<StringString>,
}

Fields

line: String subject: String priority: u8 create_date: Option<Date> finish_date: Option<Date> finished: bool threshold_date: Option<Date> due_date: Option<Date> recurrence: Option<Recurrence> contexts: Vec<String> projects: Vec<String> hashtags: Vec<String> tags: HashMap<StringString>

Trait Implementations

impl Default for TodoItem
[src]

fn default() -> TodoItem

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

impl PartialEq for TodoItem
[src]

fn eq(&self, __arg_0: &TodoItem) -> bool

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

fn ne(&self, __arg_0: &TodoItem) -> bool

This method tests for !=.

impl Eq for TodoItem
[src]

impl Debug for TodoItem
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl FromStr for TodoItem
[src]

type Err = ()

The associated error which can be returned from parsing.

fn from_str(s: &str) -> Result<TodoItem()>

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