pub struct StepExecutionResult {
pub step_id: String,
pub status: String,
pub request: Option<StepRequest>,
pub response: Option<StepResponse>,
pub error: Option<String>,
pub duration: Option<u128>,
pub attempts: Option<usize>,
pub attempt: Option<usize>,
pub max_attempts: Option<usize>,
pub assert_results: Option<Vec<AssertionResult>>,
}Fields§
§step_id: String§status: String§request: Option<StepRequest>§response: Option<StepResponse>§error: Option<String>§duration: Option<u128>§attempts: Option<usize>§attempt: Option<usize>§max_attempts: Option<usize>§assert_results: Option<Vec<AssertionResult>>Trait Implementations§
Source§impl Clone for StepExecutionResult
impl Clone for StepExecutionResult
Source§fn clone(&self) -> StepExecutionResult
fn clone(&self) -> StepExecutionResult
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 StepExecutionResult
impl Debug for StepExecutionResult
Source§impl<'de> Deserialize<'de> for StepExecutionResult
impl<'de> Deserialize<'de> for StepExecutionResult
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StepExecutionResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StepExecutionResult, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for StepExecutionResult
impl Serialize for StepExecutionResult
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for StepExecutionResult
impl RefUnwindSafe for StepExecutionResult
impl Send for StepExecutionResult
impl Sync for StepExecutionResult
impl Unpin for StepExecutionResult
impl UnsafeUnpin for StepExecutionResult
impl UnwindSafe for StepExecutionResult
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