pub struct Prepared {Show 13 fields
pub job: String,
pub harness: String,
pub harness_name: String,
pub harness_version: Option<String>,
pub mode: String,
pub argv: Vec<String>,
pub env: BTreeMap<String, String>,
pub root: Option<PathBuf>,
pub prompt: String,
pub paste: bool,
pub done: Vec<String>,
pub notes: Vec<String>,
pub missing_secrets: Vec<String>,
}Expand description
A job ready to run: the command, its environment, and the rendered prompt.
Fields§
§job: String§harness: String§harness_name: String§harness_version: Option<String>§mode: Stringinteractive or headless.
argv: Vec<String>§env: BTreeMap<String, String>§root: Option<PathBuf>§prompt: String§paste: boolTrue when the harness can’t take a first message: the user points it at the prompt file.
done: Vec<String>§notes: Vec<String>§missing_secrets: Vec<String>Trait Implementations§
Source§impl Serialize for Prepared
impl Serialize for Prepared
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for Prepared
impl RefUnwindSafe for Prepared
impl Send for Prepared
impl Sync for Prepared
impl Unpin for Prepared
impl UnsafeUnpin for Prepared
impl UnwindSafe for Prepared
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