pub struct Bucket {
pub at: u64,
pub checks: u64,
pub ok: u64,
pub pending: u64,
pub uptime: Option<f64>,
pub p50: Option<u64>,
pub p95: Option<u64>,
}Expand description
A time bucket of checks.
Fields§
§at: u64Unix milliseconds the bucket starts.
checks: u64Counted checks (pending ones are not).
ok: u64§pending: u64Checks that failed while the monitor waited for its first success.
uptime: Option<f64>Percent of checks that succeeded; none without checks.
p50: Option<u64>§p95: Option<u64>Trait Implementations§
impl StructuralPartialEq for Bucket
Auto Trait Implementations§
impl Freeze for Bucket
impl RefUnwindSafe for Bucket
impl Send for Bucket
impl Sync for Bucket
impl Unpin for Bucket
impl UnsafeUnpin for Bucket
impl UnwindSafe for Bucket
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