pub struct BashAction {
pub command: String,
pub session: String,
pub timeout: f64,
pub check: CheckMode,
}Expand description
Action to execute in a bash session.
Fields§
§command: String§session: String§timeout: f64§check: CheckModeTrait Implementations§
Source§impl Clone for BashAction
impl Clone for BashAction
Source§fn clone(&self) -> BashAction
fn clone(&self) -> BashAction
Returns a duplicate of the value. Read more
1.0.0 · 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 BashAction
impl Debug for BashAction
Source§impl<'de> Deserialize<'de> for BashAction
impl<'de> Deserialize<'de> for BashAction
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 BashAction
impl RefUnwindSafe for BashAction
impl Send for BashAction
impl Sync for BashAction
impl Unpin for BashAction
impl UnsafeUnpin for BashAction
impl UnwindSafe for BashAction
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