pub struct MacroStep {
pub name: Option<String>,
pub delay_ms: Option<u64>,
pub kind: MacroStepKind,
pub optional: bool,
pub when: Option<String>,
pub retry: Option<Retry>,
pub save_as: BTreeMap<String, String>,
}Expand description
One step of a request macro.
Fields§
§name: Option<String>Entry label (events/console).
delay_ms: Option<u64>Delay before the request in milliseconds (baked into [Options]).
kind: MacroStepKindPayload or composition.
optional: booloptional: — failure warns and the batch segments around it.
when: Option<String>when: skip guard (runs iff non-empty after resolution).
retry: Option<Retry>Finite retry policy.
save_as: BTreeMap<String, String>saveAs: promotions (capture name → global).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MacroStep
impl RefUnwindSafe for MacroStep
impl Send for MacroStep
impl Sync for MacroStep
impl Unpin for MacroStep
impl UnsafeUnpin for MacroStep
impl UnwindSafe for MacroStep
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