pub struct LoweredScenario {
pub name: String,
pub tags: Vec<String>,
pub line: usize,
pub batches: Vec<StepBatch>,
pub secrets: BTreeMap<String, String>,
pub globals: BTreeSet<String>,
pub warnings: Vec<Diag>,
}Expand description
A fully lowered scenario: ordered engine batches plus what lowering learned.
Fields§
§name: StringScenario name (post-expansion).
Accumulated tags.
line: usize1-based header line.
batches: Vec<StepBatch>Contiguous same-engine batches, in authored order.
secrets: BTreeMap<String, String>Secrets referenced anywhere in the scenario, as hurl variable name →
secret name (values never appear). The two differ only when a
fragment binding renames one — bind: { auth_token: ${secret:apiToken} }
— which is what lets a corpus proef did not write keep its own variable
names (ADR-0018). Inline ${secret:X} maps X to itself.
globals: BTreeSet<String>Global keys read anywhere in the scenario (drives .vars, ADR-0010).
warnings: Vec<Diag>Soft findings (dry-run globals, …) as warning diagnostics.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LoweredScenario
impl RefUnwindSafe for LoweredScenario
impl Send for LoweredScenario
impl Sync for LoweredScenario
impl Unpin for LoweredScenario
impl UnsafeUnpin for LoweredScenario
impl UnwindSafe for LoweredScenario
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