Struct todo_txt::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 Simple
[src]
impl Clone for Simple
fn clone(&self) -> Simple
[src]
fn clone(&self) -> Simple
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Simple
[src]
impl Debug for Simple
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Simple
[src]
impl PartialEq for Simple
fn eq(&self, other: &Simple) -> bool
[src]
fn eq(&self, other: &Simple) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Simple) -> bool
[src]
fn ne(&self, other: &Simple) -> bool
This method tests for !=
.
impl Eq for Simple
[src]
impl Eq for Simple
impl Hash for Simple
[src]
impl Hash for Simple
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
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]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
[src]Feeds a slice of this type into the given [Hasher
]. Read more
impl Default for Simple
[src]
impl Default for Simple
impl FromStr for Simple
[src]
impl FromStr for Simple
type Err = ()
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Simple, ()>
[src]
fn from_str(s: &str) -> Result<Simple, ()>
Parses a string s
to return a value of this type. Read more
impl Display for Simple
[src]
impl Display for Simple