pub struct Prepared {
pub batches: Vec<StepBatch>,
pub artifact: Option<ArtifactRef>,
pub secret_bindings: BTreeMap<String, String>,
}Expand description
A scenario ready to execute.
Fields§
§batches: Vec<StepBatch>Engine batches in authored order.
artifact: Option<ArtifactRef>The emitted artifact (the hurl engine’s executed input, ADR-0010).
secret_bindings: BTreeMap<String, String>This scenario’s secrets as engine variable name → secret name. The
two differ when a fragment binding renamed one (ADR-0018); an inline
${secret:X} maps X to itself, so this covers every secret the
scenario needs, not just the renamed ones.
Auto Trait Implementations§
impl Freeze for Prepared
impl RefUnwindSafe for Prepared
impl Send for Prepared
impl Sync for Prepared
impl Unpin for Prepared
impl UnsafeUnpin for Prepared
impl UnwindSafe for Prepared
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