pub enum GateOptions {
Static(HashMap<String, String>),
StepRef(String),
}Expand description
Specifies the set of options for a multi-select gate.
Static: a literal key-value map of option strings defined in the workflow file.StepRef: a"step.field"reference resolved at runtime from a prior step’s structured output (the field must be a JSON object with string values).
Variants§
Static(HashMap<String, String>)
StepRef(String)
Raw "step.field" dotted reference — resolved at execution time.
Trait Implementations§
Source§impl Clone for GateOptions
impl Clone for GateOptions
Source§fn clone(&self) -> GateOptions
fn clone(&self) -> GateOptions
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 GateOptions
impl Debug for GateOptions
Source§impl<'de> Deserialize<'de> for GateOptions
impl<'de> Deserialize<'de> for GateOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GateOptions
impl RefUnwindSafe for GateOptions
impl Send for GateOptions
impl Sync for GateOptions
impl Unpin for GateOptions
impl UnsafeUnpin for GateOptions
impl UnwindSafe for GateOptions
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