pub struct StepResult {
pub name: String,
pub output: String,
pub success: bool,
pub cost_microdollars: u64,
pub retries_used: u32,
pub skipped: bool,
}Expand description
Result of a single chain step.
Fields§
§name: StringStep name.
output: StringOutput text from this step.
success: boolWhether the step succeeded.
cost_microdollars: u64Cost in microdollars.
retries_used: u32Number of retries used.
skipped: boolWhether this step was skipped due to chain cancellation.
Trait Implementations§
Source§impl Clone for StepResult
impl Clone for StepResult
Source§fn clone(&self) -> StepResult
fn clone(&self) -> StepResult
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 StepResult
impl Debug for StepResult
Source§impl<'de> Deserialize<'de> for StepResult
impl<'de> Deserialize<'de> for StepResult
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 StepResult
impl RefUnwindSafe for StepResult
impl Send for StepResult
impl Sync for StepResult
impl Unpin for StepResult
impl UnsafeUnpin for StepResult
impl UnwindSafe for StepResult
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