pub struct BashArgs {
pub command: String,
pub timeout_seconds: Option<u64>,
}Fields§
§command: String§timeout_seconds: Option<u64>What the model asked for. A build or a full test run needs minutes, while most commands need seconds, and only the caller knows which this is.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BashArgs
impl<'de> Deserialize<'de> for BashArgs
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 BashArgs
impl RefUnwindSafe for BashArgs
impl Send for BashArgs
impl Sync for BashArgs
impl Unpin for BashArgs
impl UnsafeUnpin for BashArgs
impl UnwindSafe for BashArgs
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