Struct todo_txt::task::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 contexts: Vec<String>, pub projects: Vec<String>, pub hashtags: Vec<String>, pub tags: BTreeMap<String, String>, }
Fields
subject: String
priority: u8
create_date: Option<Date>
finish_date: Option<Date>
finished: bool
threshold_date: Option<Date>
due_date: Option<Date>
contexts: Vec<String>
projects: Vec<String>
Trait Implementations
impl Clone for Task
[src]
fn clone(&self) -> Task
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Task
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl PartialEq for Task
[src]
fn eq(&self, __arg_0: &Task) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Task) -> bool
[src]
This method tests for !=
.
impl Eq for Task
[src]
impl Hash for Task
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Default for Task
[src]
impl FromStr for Task
[src]
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Task, ()>
[src]
Parses a string s
to return a value of this type. Read more