Struct cronrunner::crontab::RunResult
source · pub struct RunResult {
pub was_successful: bool,
pub detail: RunResultDetail,
}Expand description
Info about a run, provided by Crontab once it is finished.
Fields§
§was_successful: boolWhether the command was successful or not. Successful means the command ran AND exited without errors (exit 0).
detail: RunResultDetailDetail about the run. May contain exit code or reason of
failure, see RunResultDetail.
Trait Implementations§
source§impl PartialEq for RunResult
impl PartialEq for RunResult
impl Eq for RunResult
impl StructuralPartialEq for RunResult
Auto Trait Implementations§
impl Freeze for RunResult
impl RefUnwindSafe for RunResult
impl Send for RunResult
impl Sync for RunResult
impl Unpin for RunResult
impl UnwindSafe for RunResult
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