pub struct ActivityDuration {
pub setup_ms: i64,
pub process_ms: i64,
pub teardown_ms: i64,
}Expand description
Time components of an activity.
§Components
- Setup: Preparation before processing (e.g., machine changeover).
May be overridden by
TransitionMatrixfor sequence-dependent setups. - Process: Core work time (the actual operation).
- Teardown: Cleanup after processing (e.g., cooling, inspection).
Fields§
§setup_ms: i64Setup/preparation time (ms).
process_ms: i64Core processing time (ms).
teardown_ms: i64Teardown/cleanup time (ms).
Implementations§
Trait Implementations§
Source§impl Clone for ActivityDuration
impl Clone for ActivityDuration
Source§fn clone(&self) -> ActivityDuration
fn clone(&self) -> ActivityDuration
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 ActivityDuration
impl Debug for ActivityDuration
Source§impl Default for ActivityDuration
impl Default for ActivityDuration
Source§impl<'de> Deserialize<'de> for ActivityDuration
impl<'de> Deserialize<'de> for ActivityDuration
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 ActivityDuration
impl RefUnwindSafe for ActivityDuration
impl Send for ActivityDuration
impl Sync for ActivityDuration
impl Unpin for ActivityDuration
impl UnsafeUnpin for ActivityDuration
impl UnwindSafe for ActivityDuration
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