pub struct LoweredStep {
pub step: StepRef,
pub kind: StepKindId,
pub payload: StepPayload,
pub optional: bool,
pub when: Option<Guard>,
pub label: Option<String>,
pub save_as: BTreeMap<String, String>,
}Expand description
One step after macro expansion and ${…} lowering — engine-agnostic.
Fields§
§step: StepRefAnchor to the authored feature line.
kind: StepKindIdWhich step kind (and therefore which engine) executes this step.
payload: StepPayloadThe engine-facing payload.
optional: booloptional: steps warn instead of failing (and segment the batch).
when: Option<Guard>Skip guard, when configured (resolved text; the runtime skips the step
per Guard::skips).
label: Option<String>Pack-step entry label (events/console), when authored.
save_as: BTreeMap<String, String>saveAs: promotions: capture name → global (ADR-0005).
Trait Implementations§
Source§impl Clone for LoweredStep
impl Clone for LoweredStep
Source§fn clone(&self) -> LoweredStep
fn clone(&self) -> LoweredStep
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 LoweredStep
impl Debug for LoweredStep
Source§impl PartialEq for LoweredStep
impl PartialEq for LoweredStep
impl StructuralPartialEq for LoweredStep
Auto Trait Implementations§
impl Freeze for LoweredStep
impl RefUnwindSafe for LoweredStep
impl Send for LoweredStep
impl Sync for LoweredStep
impl Unpin for LoweredStep
impl UnsafeUnpin for LoweredStep
impl UnwindSafe for LoweredStep
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