Struct tdtxt::prelude::Task [−][src]
pub struct Task {
pub state: State,
pub priority: Option<Priority>,
pub date_compound: Option<DateCompound>,
pub description: Description,
}
Expand description
Represents the whole task.
Fields
state: State
Optional state of the task.
priority: Option<Priority>
Optional priority of the task.
date_compound: Option<DateCompound>
Optional associated special dates for the task.
description: Description
Description of the task.
Implementations
Creates a new builder for a task.
Returns the date compound of the task.
Returns the description of the task.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Task
impl UnwindSafe for Task
Blanket Implementations
Mutably borrows from an owned value. Read more