pub struct RunSummary {Show 16 fields
pub staffing: Staffing,
pub arrivals: usize,
pub balked: usize,
pub gave_up_queue: usize,
pub served: usize,
pub abandoned: usize,
pub revenue: f64,
pub ingredient_cost: f64,
pub salary_cost: f64,
pub profit: f64,
pub avg_till_wait: f64,
pub avg_kitchen_wait: f64,
pub avg_visit: f64,
pub max_till_queue_len: usize,
pub max_kitchen_queue_len: usize,
pub finish_tick: u64,
}Fields§
§staffing: Staffing§arrivals: usize§balked: usize§gave_up_queue: usize§served: usize§abandoned: usize§revenue: f64§ingredient_cost: f64§salary_cost: f64§profit: f64§avg_till_wait: f64§avg_kitchen_wait: f64§avg_visit: f64§max_till_queue_len: usize§max_kitchen_queue_len: usize§finish_tick: u64Implementations§
Source§impl RunSummary
impl RunSummary
pub fn print_table_header()
pub fn print_table_row(&self)
pub fn print_best_summary(&self, day_ticks: u64)
Trait Implementations§
Source§impl Clone for RunSummary
impl Clone for RunSummary
Source§fn clone(&self) -> RunSummary
fn clone(&self) -> RunSummary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for RunSummary
impl RefUnwindSafe for RunSummary
impl Send for RunSummary
impl Sync for RunSummary
impl Unpin for RunSummary
impl UnwindSafe for RunSummary
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