pub struct ExecutionResult {
pub success: bool,
pub script: String,
pub command: Option<String>,
pub duration_ms: u128,
pub exit_code: Option<i32>,
pub error: Option<String>,
pub includes: Vec<ExecutionResult>,
pub hooks: Vec<ExecutionResult>,
}Expand description
Structured result of executing a script (used for JSON output).
Fields§
§success: bool§script: String§command: Option<String>§duration_ms: u128§exit_code: Option<i32>§error: Option<String>§includes: Vec<ExecutionResult>§hooks: Vec<ExecutionResult>Implementations§
Trait Implementations§
Source§impl Clone for ExecutionResult
impl Clone for ExecutionResult
Source§impl Debug for ExecutionResult
impl Debug for ExecutionResult
Auto Trait Implementations§
impl Forget for ExecutionResult
impl Freeze for ExecutionResult
impl Move for ExecutionResult
impl RefUnwindSafe for ExecutionResult
impl Send for ExecutionResult
impl Sync for ExecutionResult
impl Unpin for ExecutionResult
impl UnsafeUnpin for ExecutionResult
impl UnwindSafe for ExecutionResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more