pub enum WorkerModeView {
Companion,
JobLoop,
Idle,
}Expand description
Hired worker automation mode on the wire.
Variants§
Companion
JobLoop
Idle
Deliberately parked — no route, no follow. The worker stands down (still draws wages) until the employer assigns a mode/route again.
Trait Implementations§
Source§impl Clone for WorkerModeView
impl Clone for WorkerModeView
Source§fn clone(&self) -> WorkerModeView
fn clone(&self) -> WorkerModeView
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for WorkerModeView
Source§impl Debug for WorkerModeView
impl Debug for WorkerModeView
Source§impl<'de> Deserialize<'de> for WorkerModeView
impl<'de> Deserialize<'de> for WorkerModeView
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
impl Eq for WorkerModeView
Source§impl PartialEq for WorkerModeView
impl PartialEq for WorkerModeView
Source§impl Serialize for WorkerModeView
impl Serialize for WorkerModeView
impl StructuralPartialEq for WorkerModeView
Auto Trait Implementations§
impl Freeze for WorkerModeView
impl RefUnwindSafe for WorkerModeView
impl Send for WorkerModeView
impl Sync for WorkerModeView
impl Unpin for WorkerModeView
impl UnsafeUnpin for WorkerModeView
impl UnwindSafe for WorkerModeView
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