pub struct SimulationResult {
pub success: bool,
pub final_state: ExecutionState,
pub trace: ExecutionTrace,
pub final_context: HashMap<String, Value>,
pub cost_estimate: Option<CostEstimate>,
pub time_estimate: Option<TimeEstimate>,
pub coverage: CoverageInfo,
pub errors: Vec<SimulationError>,
pub warnings: Vec<String>,
}Expand description
Result of a workflow simulation
Fields§
§success: boolWhether the simulation completed successfully
final_state: ExecutionStateExecution state at completion
trace: ExecutionTraceExecution trace showing the path taken
final_context: HashMap<String, Value>Final variable context
cost_estimate: Option<CostEstimate>Cost estimate for this execution path
time_estimate: Option<TimeEstimate>Time estimate for this execution path
coverage: CoverageInfoCoverage information
errors: Vec<SimulationError>Errors encountered during simulation
warnings: Vec<String>Warnings generated during simulation
Trait Implementations§
Source§impl Clone for SimulationResult
impl Clone for SimulationResult
Source§fn clone(&self) -> SimulationResult
fn clone(&self) -> SimulationResult
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 SimulationResult
impl Debug for SimulationResult
Source§impl<'de> Deserialize<'de> for SimulationResult
impl<'de> Deserialize<'de> for SimulationResult
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 SimulationResult
impl RefUnwindSafe for SimulationResult
impl Send for SimulationResult
impl Sync for SimulationResult
impl Unpin for SimulationResult
impl UnwindSafe for SimulationResult
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