pub struct FlagSpec {
pub default: bool,
pub description: Option<String>,
}Expand description
A boolean parameter a pipeline accepts at trigger time.
Flags are how one factory definition serves several situations without duplicating prompts:
a tester that also runs a remote end-to-end suite is the same agent with one extra paragraph
of instructions. See crate::prompt.
Fields§
§default: boolValue used when the trigger does not set the flag.
description: Option<String>What turning this flag on actually does.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FlagSpec
impl<'de> Deserialize<'de> for FlagSpec
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 FlagSpec
impl RefUnwindSafe for FlagSpec
impl Send for FlagSpec
impl Sync for FlagSpec
impl Unpin for FlagSpec
impl UnsafeUnpin for FlagSpec
impl UnwindSafe for FlagSpec
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