pub struct HookSummary {
pub total: usize,
pub ran: usize,
pub skipped_by_predicate: usize,
pub skipped_by_flag: usize,
pub failed_ignored: usize,
pub dry_run: bool,
}Expand description
Summary of post-update hook execution.
Fields§
§total: usizeTotal post-update hooks found in the config.
ran: usizeHooks successfully run to completion.
skipped_by_predicate: usizeHooks skipped because r#if predicate evaluated false.
skipped_by_flag: usizeHooks skipped because --skip-hooks was set.
failed_ignored: usizeHooks that failed but had ignore_failure: true.
dry_run: boolSet when --dry-run was used; ran/skipped counters stay 0.
Trait Implementations§
Source§impl Debug for HookSummary
impl Debug for HookSummary
Source§impl Default for HookSummary
impl Default for HookSummary
Source§fn default() -> HookSummary
fn default() -> HookSummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for HookSummary
impl RefUnwindSafe for HookSummary
impl Send for HookSummary
impl Sync for HookSummary
impl Unpin for HookSummary
impl UnsafeUnpin for HookSummary
impl UnwindSafe for HookSummary
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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