pub struct Task {
pub subject: String,
pub priority: Priority,
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: Priority
§create_date: Option<Date>
§finish_date: Option<Date>
§finished: bool
§threshold_date: Option<Date>
§due_date: Option<Date>
§contexts: Vec<String>
👎Deprecated since 3.1.0: Use Task::contexts() instead
§projects: Vec<String>
👎Deprecated since 3.1.0: Use Task::projects() instead
Implementations§
Trait Implementations§
source§impl Ord for Simple
impl Ord for Simple
source§impl PartialEq<Simple> for Simple
impl PartialEq<Simple> for Simple
source§impl PartialOrd<Simple> for Simple
impl PartialOrd<Simple> for Simple
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Simple
impl StructuralEq for Simple
impl StructuralPartialEq for Simple
Auto Trait Implementations§
impl RefUnwindSafe for Simple
impl Send for Simple
impl Sync for Simple
impl Unpin for Simple
impl UnwindSafe for Simple
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more