pub struct MapEntry {
pub hurl_lines: [usize; 2],
pub feature: FeatureAnchor,
pub optional: bool,
pub captures: Vec<String>,
pub batch: usize,
pub step: usize,
}Expand description
One entry block in the artifact.
Fields§
§hurl_lines: [usize; 2]1-based inclusive line range of the entry’s hurl text (comments excluded).
feature: FeatureAnchorThe authored feature step this entry came from.
optional: boolWhether the step was optional:.
captures: Vec<String>Capture names this entry produces (never values).
batch: usizeBatch index within the scenario (segmentation boundaries, ADR-0010).
step: usize0-based step ordinal within the batch — the sidecar↔step link is explicit, never positional (steps without hurl entries would otherwise shift the correspondence).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MapEntry
impl RefUnwindSafe for MapEntry
impl Send for MapEntry
impl Sync for MapEntry
impl Unpin for MapEntry
impl UnsafeUnpin for MapEntry
impl UnwindSafe for MapEntry
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