pub struct PostExecutionInput {
pub task_description: String,
pub success: bool,
pub output: Value,
pub error: Option<String>,
pub duration_ms: u64,
}Expand description
Input for post-execution hook
Fields§
§task_description: StringTask description
success: boolWhether execution succeeded
output: ValueExecution output
error: Option<String>Error message if failed
duration_ms: u64Execution duration in milliseconds
Trait Implementations§
Source§impl Clone for PostExecutionInput
impl Clone for PostExecutionInput
Source§fn clone(&self) -> PostExecutionInput
fn clone(&self) -> PostExecutionInput
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 PostExecutionInput
impl Debug for PostExecutionInput
Source§impl<'de> Deserialize<'de> for PostExecutionInput
impl<'de> Deserialize<'de> for PostExecutionInput
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 PostExecutionInput
impl RefUnwindSafe for PostExecutionInput
impl Send for PostExecutionInput
impl Sync for PostExecutionInput
impl Unpin for PostExecutionInput
impl UnsafeUnpin for PostExecutionInput
impl UnwindSafe for PostExecutionInput
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