pub struct HourBucket {
pub hour: DateTime<Utc>,
pub completed: u64,
pub failed: u64,
pub avg_processing_time_ms: Option<f64>,
}Expand description
Completed/failed activity in one UTC hour.
Fields§
§hour: DateTime<Utc>Start of the hour (UTC).
completed: u64§failed: u64§avg_processing_time_ms: Option<f64>Mean run time of the jobs completed in the hour, if any recorded one.
Trait Implementations§
Source§impl Clone for HourBucket
impl Clone for HourBucket
Source§impl Debug for HourBucket
impl Debug for HourBucket
Source§impl PartialEq for HourBucket
impl PartialEq for HourBucket
Source§impl Serialize for HourBucket
impl Serialize for HourBucket
impl StructuralPartialEq for HourBucket
Auto Trait Implementations§
impl Freeze for HourBucket
impl RefUnwindSafe for HourBucket
impl Send for HourBucket
impl Sync for HourBucket
impl Unpin for HourBucket
impl UnsafeUnpin for HourBucket
impl UnwindSafe for HourBucket
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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