pub struct WorkerTakePicker {
pub worker_instance_id: String,
pub worker_label: String,
pub options: Vec<WorkerGiveOption>,
pub quantity: u32,
}Expand description
Take an item from a hired worker back into the employer’s inventory.
Fields§
§worker_instance_id: String§worker_label: String§options: Vec<WorkerGiveOption>§quantity: u32How many of the selected stack to take (1..=stack quantity).
Trait Implementations§
Source§impl Clone for WorkerTakePicker
impl Clone for WorkerTakePicker
Source§fn clone(&self) -> WorkerTakePicker
fn clone(&self) -> WorkerTakePicker
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 moreAuto Trait Implementations§
impl Freeze for WorkerTakePicker
impl RefUnwindSafe for WorkerTakePicker
impl Send for WorkerTakePicker
impl Sync for WorkerTakePicker
impl Unpin for WorkerTakePicker
impl UnsafeUnpin for WorkerTakePicker
impl UnwindSafe for WorkerTakePicker
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