pub enum StepPayload {
HurlEntries(String),
MergedAsserts {
lines: usize,
},
Structured(Value),
}Expand description
The engine-facing payload of a lowered step.
Variants§
HurlEntries(String)
Lowered hurl text (${…} resolved, {{…}} untouched) — one or more entries.
MergedAsserts
Asserts an expect: macro merged into the previous request entry
(ADR-0004): the step owns the last lines assert lines appended to
that entry’s text. It renders no bytes of its own — the sidecar
anchors those lines so results attribute to the authored Then.
Structured(Value)
Structured payload — reserved for future non-hurl engines (ADR-0004).
Trait Implementations§
Source§impl Clone for StepPayload
impl Clone for StepPayload
Source§fn clone(&self) -> StepPayload
fn clone(&self) -> StepPayload
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 StepPayload
impl Debug for StepPayload
Source§impl PartialEq for StepPayload
impl PartialEq for StepPayload
impl StructuralPartialEq for StepPayload
Auto Trait Implementations§
impl Freeze for StepPayload
impl RefUnwindSafe for StepPayload
impl Send for StepPayload
impl Sync for StepPayload
impl Unpin for StepPayload
impl UnsafeUnpin for StepPayload
impl UnwindSafe for StepPayload
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