pub struct TpsMetrics {
pub wip: Option<f64>,
pub throughput: Option<f64>,
pub cycle_time: Option<f64>,
pub utilization: Option<f64>,
pub queue_wait: Option<f64>,
pub variance_ratio: Option<f64>,
pub safety_stock: Option<f64>,
}Expand description
Metrics from a TPS simulation.
Fields§
§wip: Option<f64>Work in progress (units)
throughput: Option<f64>Throughput (units/time)
cycle_time: Option<f64>Cycle time (time)
utilization: Option<f64>Utilization (0-1)
queue_wait: Option<f64>Queue wait time (time)
variance_ratio: Option<f64>Variance ratio (for Bullwhip)
safety_stock: Option<f64>Safety stock (units)
Trait Implementations§
Source§impl Clone for TpsMetrics
impl Clone for TpsMetrics
Source§fn clone(&self) -> TpsMetrics
fn clone(&self) -> TpsMetrics
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 moreSource§impl Debug for TpsMetrics
impl Debug for TpsMetrics
Source§impl Default for TpsMetrics
impl Default for TpsMetrics
Source§fn default() -> TpsMetrics
fn default() -> TpsMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TpsMetrics
impl<'de> Deserialize<'de> for TpsMetrics
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 Freeze for TpsMetrics
impl RefUnwindSafe for TpsMetrics
impl Send for TpsMetrics
impl Sync for TpsMetrics
impl Unpin for TpsMetrics
impl UnsafeUnpin for TpsMetrics
impl UnwindSafe for TpsMetrics
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