pub struct TaskInput {Show 14 fields
pub name: Option<String>,
pub description: Option<String>,
pub status: Option<String>,
pub priority: Option<String>,
pub assignees: Vec<String>,
pub tags: Vec<String>,
pub due: Option<String>,
pub start: Option<String>,
pub estimate: Option<String>,
pub points: Option<f64>,
pub parent: Option<String>,
pub task_type: Option<String>,
pub fields: BTreeMap<String, String>,
pub check_required: bool,
}Expand description
Fields shared by create and update. Strings are human input.
Fields§
§name: Option<String>§description: Option<String>Markdown.
status: Option<String>§priority: Option<String>urgent | high | normal | low | none
assignees: Vec<String>§due: Option<String>Date input, or none to clear on update.
start: Option<String>§estimate: Option<String>Duration like 2h, or none to clear on update.
points: Option<f64>§parent: Option<String>§task_type: Option<String>§fields: BTreeMap<String, String>Custom field name or id → human value.
check_required: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for TaskInput
impl<'de> Deserialize<'de> for TaskInput
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 Forget for TaskInput
impl Freeze for TaskInput
impl Move for TaskInput
impl RefUnwindSafe for TaskInput
impl Send for TaskInput
impl Sync for TaskInput
impl Unpin for TaskInput
impl UnsafeUnpin for TaskInput
impl UnwindSafe for TaskInput
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