pub struct TransitionResult {
pub transition_id: String,
pub from_state: String,
pub to_state: String,
pub duration: Duration,
pub assertions_passed: bool,
pub assertion_results: Vec<AssertionResult>,
}Expand description
Result of a single transition execution.
Fields§
§transition_id: StringTransition ID
from_state: StringSource state
to_state: StringTarget state
duration: DurationExecution time for this transition
assertions_passed: boolWhether assertions passed
assertion_results: Vec<AssertionResult>Individual assertion results
Trait Implementations§
Source§impl Clone for TransitionResult
impl Clone for TransitionResult
Source§fn clone(&self) -> TransitionResult
fn clone(&self) -> TransitionResult
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 moreAuto Trait Implementations§
impl Freeze for TransitionResult
impl RefUnwindSafe for TransitionResult
impl Send for TransitionResult
impl Sync for TransitionResult
impl Unpin for TransitionResult
impl UnsafeUnpin for TransitionResult
impl UnwindSafe for TransitionResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more