pub struct WorkerGiveTargetOption {
pub instance_id: String,
pub label: String,
pub distance_m: f32,
}Expand description
Nearby hired worker choice when giving a selected inventory stack (g).
Fields§
§instance_id: String§label: String§distance_m: f32Trait Implementations§
Source§impl Clone for WorkerGiveTargetOption
impl Clone for WorkerGiveTargetOption
Source§fn clone(&self) -> WorkerGiveTargetOption
fn clone(&self) -> WorkerGiveTargetOption
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 WorkerGiveTargetOption
impl RefUnwindSafe for WorkerGiveTargetOption
impl Send for WorkerGiveTargetOption
impl Sync for WorkerGiveTargetOption
impl Unpin for WorkerGiveTargetOption
impl UnsafeUnpin for WorkerGiveTargetOption
impl UnwindSafe for WorkerGiveTargetOption
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