pub struct VerifyCommand {
pub run: String,
pub timeout_secs: Option<u64>,
}Expand description
A single verification command with optional per-command timeout.
Used in [[verify.commands]] TOML arrays for per-command configuration.
When only a string is needed, the flat commands list (backward compat) works too.
Fields§
§run: StringThe shell command to run.
timeout_secs: Option<u64>Per-command timeout in seconds. If omitted, default_timeout_secs is used.
Trait Implementations§
Source§impl Clone for VerifyCommand
impl Clone for VerifyCommand
Source§fn clone(&self) -> VerifyCommand
fn clone(&self) -> VerifyCommand
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 VerifyCommand
impl Debug for VerifyCommand
Source§impl<'de> Deserialize<'de> for VerifyCommand
impl<'de> Deserialize<'de> for VerifyCommand
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 VerifyCommand
impl RefUnwindSafe for VerifyCommand
impl Send for VerifyCommand
impl Sync for VerifyCommand
impl Unpin for VerifyCommand
impl UnsafeUnpin for VerifyCommand
impl UnwindSafe for VerifyCommand
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