pub struct TaskCompleteMsg {
pub instance_id: String,
pub success: bool,
pub error: Option<String>,
}Expand description
Task completion notification.
Fields§
§instance_id: StringInstance ID.
success: boolWhether execution was successful.
error: Option<String>Error message if failed.
Trait Implementations§
Source§impl Clone for TaskCompleteMsg
impl Clone for TaskCompleteMsg
Source§fn clone(&self) -> TaskCompleteMsg
fn clone(&self) -> TaskCompleteMsg
Returns a duplicate of the value. Read more
1.0.0 · 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 TaskCompleteMsg
impl Debug for TaskCompleteMsg
Source§impl<'de> Deserialize<'de> for TaskCompleteMsg
impl<'de> Deserialize<'de> for TaskCompleteMsg
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 TaskCompleteMsg
impl RefUnwindSafe for TaskCompleteMsg
impl Send for TaskCompleteMsg
impl Sync for TaskCompleteMsg
impl Unpin for TaskCompleteMsg
impl UnwindSafe for TaskCompleteMsg
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