pub struct StepOutput {
pub success: bool,
pub data: Value,
pub error: Option<String>,
pub duration_ms: u64,
}Expand description
Output from a workflow step
Fields§
§success: boolSuccess status
data: ValueOutput data
error: Option<String>Error message if failed
duration_ms: u64Execution time in milliseconds
Implementations§
Trait Implementations§
Source§impl Clone for StepOutput
impl Clone for StepOutput
Source§fn clone(&self) -> StepOutput
fn clone(&self) -> StepOutput
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 StepOutput
impl Debug for StepOutput
Source§impl<'de> Deserialize<'de> for StepOutput
impl<'de> Deserialize<'de> for StepOutput
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 StepOutput
impl RefUnwindSafe for StepOutput
impl Send for StepOutput
impl Sync for StepOutput
impl Unpin for StepOutput
impl UnwindSafe for StepOutput
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