pub struct RunInfo<T: Send + Debug> {
pub success: bool,
pub start: OffsetDateTime,
pub end: OffsetDateTime,
pub info: T,
}
Expand description
Information about the results of a job run.
Fields§
§success: bool
If this run succeeded or not.
start: OffsetDateTime
When this run started
end: OffsetDateTime
When this run ended
info: T
Information about the run returned from the task runner function.
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for RunInfo<T>
impl<'de, T> Deserialize<'de> for RunInfo<T>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<T> Freeze for RunInfo<T>where
T: Freeze,
impl<T> RefUnwindSafe for RunInfo<T>where
T: RefUnwindSafe,
impl<T> Send for RunInfo<T>
impl<T> Sync for RunInfo<T>where
T: Sync,
impl<T> Unpin for RunInfo<T>where
T: Unpin,
impl<T> UnwindSafe for RunInfo<T>where
T: UnwindSafe,
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