pub struct GateResult {
pub command: String,
pub success: bool,
pub exit_code: Option<i32>,
pub output: String,
pub skipped_unchanged: bool,
}Expand description
A quality-gate execution result emitted to hosts.
Fields§
§command: StringConfigured command.
success: boolWhether the command exited successfully.
exit_code: Option<i32>Process exit code when available.
output: StringTail-biased, bounded stdout and stderr.
skipped_unchanged: boolTrue when no command was run because the workspace is unchanged.
Trait Implementations§
Source§impl Clone for GateResult
impl Clone for GateResult
Source§fn clone(&self) -> GateResult
fn clone(&self) -> GateResult
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 GateResult
impl Debug for GateResult
Auto Trait Implementations§
impl Freeze for GateResult
impl RefUnwindSafe for GateResult
impl Send for GateResult
impl Sync for GateResult
impl Unpin for GateResult
impl UnsafeUnpin for GateResult
impl UnwindSafe for GateResult
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