pub struct TaskMeta {
pub due: Option<NaiveDateTime>,
pub status: String,
pub closed_at: Option<NaiveDateTime>,
}Expand description
Task-specific metadata.
Conventional status values: open, in_progress, done, cancelled, archived.
Any custom string is also accepted.
Fields§
§due: Option<NaiveDateTime>Due date/time.
status: StringTask status. Conventional values: open | in_progress | done | cancelled | archived
closed_at: Option<NaiveDateTime>Timestamp when the task was closed (status → done/cancelled/archived).
Set automatically by entry set; can be overridden manually.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TaskMeta
impl<'de> Deserialize<'de> for TaskMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TaskMeta
impl RefUnwindSafe for TaskMeta
impl Send for TaskMeta
impl Sync for TaskMeta
impl Unpin for TaskMeta
impl UnsafeUnpin for TaskMeta
impl UnwindSafe for TaskMeta
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