pub struct RoutingOperation {
pub operation_number: u32,
pub operation_description: String,
pub work_center: String,
pub setup_time_hours: f64,
pub run_time_hours: f64,
pub planned_quantity: Decimal,
pub actual_quantity: Decimal,
pub status: OperationStatus,
pub started_at: Option<NaiveDate>,
pub completed_at: Option<NaiveDate>,
}Expand description
A single operation within a production routing.
Fields§
§operation_number: u32Sequential operation number
operation_description: StringDescription of the operation
work_center: StringWork center where the operation is performed
setup_time_hours: f64Setup time in hours
run_time_hours: f64Run time in hours
planned_quantity: DecimalPlanned quantity for this operation
actual_quantity: DecimalActual quantity processed in this operation
status: OperationStatusCurrent status of the operation
started_at: Option<NaiveDate>Date the operation started
completed_at: Option<NaiveDate>Date the operation completed
Trait Implementations§
Source§impl Clone for RoutingOperation
impl Clone for RoutingOperation
Source§fn clone(&self) -> RoutingOperation
fn clone(&self) -> RoutingOperation
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 RoutingOperation
impl Debug for RoutingOperation
Source§impl<'de> Deserialize<'de> for RoutingOperation
impl<'de> Deserialize<'de> for RoutingOperation
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 RoutingOperation
impl RefUnwindSafe for RoutingOperation
impl Send for RoutingOperation
impl Sync for RoutingOperation
impl Unpin for RoutingOperation
impl UnwindSafe for RoutingOperation
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