pub struct TodoUpdateResult {
pub phases: Vec<TodoPhase>,
pub completed_tasks: Vec<TodoCompletionTransition>,
pub errors: Vec<String>,
}Expand description
Stable since 0.63.0
Result of applying a batch of todo ops.Fields§
§phases: Vec<TodoPhase>Full phase list after the ops were applied.
completed_tasks: Vec<TodoCompletionTransition>Tasks that transitioned to completed during this update.
errors: Vec<String>Non-fatal errors collected while applying the ops.
Trait Implementations§
Source§impl Clone for TodoUpdateResult
impl Clone for TodoUpdateResult
Source§fn clone(&self) -> TodoUpdateResult
fn clone(&self) -> TodoUpdateResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TodoUpdateResult
impl Debug for TodoUpdateResult
Source§impl Serialize for TodoUpdateResult
impl Serialize for TodoUpdateResult
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 TodoUpdateResult
impl RefUnwindSafe for TodoUpdateResult
impl Send for TodoUpdateResult
impl Sync for TodoUpdateResult
impl Unpin for TodoUpdateResult
impl UnsafeUnpin for TodoUpdateResult
impl UnwindSafe for TodoUpdateResult
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