pub struct StepResult {
pub name: String,
pub step_type: String,
pub status: String,
pub value: Option<ResultValue>,
}Expand description
One entry from an execution’s result list.
Plain data, deliberately: the COM objects behind a result belong to the execution that produced them, so a host that wants to keep results after the run must keep values rather than references.
Fields§
§name: StringThe step that recorded this result.
step_type: StringThat step’s type, for example NumericLimitTest.
status: StringThe outcome the engine recorded: Passed, Failed, Done, Error,
Skipped, or a status a sequence set itself.
value: Option<ResultValue>The measurement, when the step recorded one.
A numeric limit test yields a number, a string value test a string, and an action neither, which is why this is optional rather than defaulted to zero or an empty string.
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 (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 StepResult
impl Debug for StepResult
Source§impl PartialEq for StepResult
impl PartialEq for StepResult
impl StructuralPartialEq for StepResult
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