pub struct Metrics {Show 15 fields
pub arrivals: usize,
pub balked: usize,
pub gave_up_queue: usize,
pub entered_queue: usize,
pub till_started: usize,
pub orders_started: usize,
pub orders_served: usize,
pub orders_abandoned: usize,
pub revenue: f64,
pub ingredient_cost: f64,
pub till_wait_ticks_total: u64,
pub kitchen_wait_ticks_total: u64,
pub visit_ticks_total: u64,
pub max_till_queue_len: usize,
pub max_kitchen_queue_len: usize,
}Fields§
§arrivals: usize§balked: usize§gave_up_queue: usize§entered_queue: usize§till_started: usize§orders_started: usize§orders_served: usize§orders_abandoned: usize§revenue: f64§ingredient_cost: f64§till_wait_ticks_total: u64§kitchen_wait_ticks_total: u64§visit_ticks_total: u64§max_till_queue_len: usize§max_kitchen_queue_len: usizeTrait Implementations§
Auto Trait Implementations§
impl Freeze for Metrics
impl RefUnwindSafe for Metrics
impl Send for Metrics
impl Sync for Metrics
impl Unpin for Metrics
impl UnwindSafe for Metrics
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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