pub enum MacroStepKind {
Payload {
kind: String,
payload: PayloadForm,
},
Use {
target: String,
with: BTreeMap<String, String>,
},
Ref {
target: String,
},
}Expand description
Payload or composition of a MacroStep.
Variants§
Payload
An engine payload (hurl: | raw block, or structured for future engines).
Use
Composition: inline another macro’s steps.
Fields
Ref
A named fragment declared in an engine-native file (ADR-0018).
Trait Implementations§
Source§impl Clone for MacroStepKind
impl Clone for MacroStepKind
Source§fn clone(&self) -> MacroStepKind
fn clone(&self) -> MacroStepKind
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 moreAuto Trait Implementations§
impl Freeze for MacroStepKind
impl RefUnwindSafe for MacroStepKind
impl Send for MacroStepKind
impl Sync for MacroStepKind
impl Unpin for MacroStepKind
impl UnsafeUnpin for MacroStepKind
impl UnwindSafe for MacroStepKind
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