pub struct TodoItem {
pub content: String,
pub status: TodoStatus,
pub notes: Option<Vec<String>>,
pub block_reason: Option<String>,
}Expand description
Stable since 0.63.0
A single task within a phase.Fields§
§content: StringHuman-readable description of the task.
status: TodoStatusCurrent lifecycle status of the task.
notes: Option<Vec<String>>Optional free-form notes attached to the task.
block_reason: Option<String>Optional reason a task is blocked (set by the block op).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TodoItem
impl<'de> Deserialize<'de> for TodoItem
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TodoItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TodoItem, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for TodoItem
impl Serialize for TodoItem
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for TodoItem
impl RefUnwindSafe for TodoItem
impl Send for TodoItem
impl Sync for TodoItem
impl Unpin for TodoItem
impl UnsafeUnpin for TodoItem
impl UnwindSafe for TodoItem
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