pub struct ProductionOrderConfig {
pub orders_per_month: u32,
pub avg_batch_size: u32,
pub yield_rate: f64,
pub make_to_order_rate: f64,
pub rework_rate: f64,
}Expand description
Production order configuration.
Fields§
§orders_per_month: u32Orders per month
avg_batch_size: u32Average batch size
yield_rate: f64Yield rate
make_to_order_rate: f64Make-to-order rate (vs make-to-stock)
rework_rate: f64Rework rate
Trait Implementations§
Source§impl Clone for ProductionOrderConfig
impl Clone for ProductionOrderConfig
Source§fn clone(&self) -> ProductionOrderConfig
fn clone(&self) -> ProductionOrderConfig
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 ProductionOrderConfig
impl Debug for ProductionOrderConfig
Source§impl Default for ProductionOrderConfig
impl Default for ProductionOrderConfig
Source§impl<'de> Deserialize<'de> for ProductionOrderConfig
impl<'de> Deserialize<'de> for ProductionOrderConfig
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 ProductionOrderConfig
impl RefUnwindSafe for ProductionOrderConfig
impl Send for ProductionOrderConfig
impl Sync for ProductionOrderConfig
impl Unpin for ProductionOrderConfig
impl UnsafeUnpin for ProductionOrderConfig
impl UnwindSafe for ProductionOrderConfig
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