pub struct ShellHookTestOutput {
pub exit_code: Option<i32>,
pub stdout: String,
pub stderr: String,
pub timed_out: bool,
pub stdout_truncated: bool,
pub stderr_truncated: bool,
}Expand description
Raw process result returned by the settings dry-run endpoint. Unlike the normal hook path, this deliberately exposes captured streams so users can diagnose a command before enabling it.
Fields§
§exit_code: Option<i32>§stdout: String§stderr: String§timed_out: bool§stdout_truncated: bool§stderr_truncated: boolTrait Implementations§
Source§impl Clone for ShellHookTestOutput
impl Clone for ShellHookTestOutput
Source§fn clone(&self) -> ShellHookTestOutput
fn clone(&self) -> ShellHookTestOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ShellHookTestOutput
impl Debug for ShellHookTestOutput
impl Eq for ShellHookTestOutput
Source§impl PartialEq for ShellHookTestOutput
impl PartialEq for ShellHookTestOutput
Source§impl Serialize for ShellHookTestOutput
impl Serialize for ShellHookTestOutput
impl StructuralPartialEq for ShellHookTestOutput
Auto Trait Implementations§
impl Freeze for ShellHookTestOutput
impl RefUnwindSafe for ShellHookTestOutput
impl Send for ShellHookTestOutput
impl Sync for ShellHookTestOutput
impl Unpin for ShellHookTestOutput
impl UnsafeUnpin for ShellHookTestOutput
impl UnwindSafe for ShellHookTestOutput
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.