pub struct BashParams {
pub command: String,
pub timeout: Option<String>,
pub workdir: Option<String>,
}Fields§
§command: String§timeout: Option<String>§workdir: Option<String>Implementations§
Source§impl BashParams
impl BashParams
pub fn timeout_ms(&self) -> Option<u64>
Trait Implementations§
Source§impl Debug for BashParams
impl Debug for BashParams
Source§impl<'de> Deserialize<'de> for BashParams
impl<'de> Deserialize<'de> for BashParams
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 BashParams
impl RefUnwindSafe for BashParams
impl Send for BashParams
impl Sync for BashParams
impl Unpin for BashParams
impl UnsafeUnpin for BashParams
impl UnwindSafe for BashParams
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