pub struct A2ATaskDetails {
pub task: A2ATask,
pub result: Option<A2ATaskResult>,
pub error: Option<String>,
}Expand description
Detailed view of a task including its result and any error message.
Fields§
§task: A2ATaskThe task itself.
result: Option<A2ATaskResult>Result of the task (present when the task completed).
error: Option<String>Error message (present when the task failed).
Trait Implementations§
Source§impl Clone for A2ATaskDetails
impl Clone for A2ATaskDetails
Source§fn clone(&self) -> A2ATaskDetails
fn clone(&self) -> A2ATaskDetails
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 A2ATaskDetails
impl Debug for A2ATaskDetails
Source§impl<'de> Deserialize<'de> for A2ATaskDetails
impl<'de> Deserialize<'de> for A2ATaskDetails
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 A2ATaskDetails
impl RefUnwindSafe for A2ATaskDetails
impl Send for A2ATaskDetails
impl Sync for A2ATaskDetails
impl Unpin for A2ATaskDetails
impl UnsafeUnpin for A2ATaskDetails
impl UnwindSafe for A2ATaskDetails
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