Struct palmrs_conduit_todotxt::ToDoTask
source · pub struct ToDoTask {
pub task_text: String,
pub note_text: Option<String>,
pub category: Option<String>,
pub priority: u8,
pub completed: bool,
pub due_date: Option<(u16, u8, u8)>,
}
Expand description
A single to-do task
Fields§
§task_text: String
Task body
note_text: Option<String>
Extended task note text
category: Option<String>
Category name
Uses the “unfiled” category if None.
priority: u8
Task priority (between 1 and 5)
completed: bool
Has the task been completed?
due_date: Option<(u16, u8, u8)>
Task due date, if defined, as a (year, month, day)
tuple
Implementations§
Trait Implementations§
source§impl PartialEq<ToDoTask> for ToDoTask
impl PartialEq<ToDoTask> for ToDoTask
impl StructuralPartialEq for ToDoTask
Auto Trait Implementations§
impl RefUnwindSafe for ToDoTask
impl Send for ToDoTask
impl Sync for ToDoTask
impl Unpin for ToDoTask
impl UnwindSafe for ToDoTask
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