pub struct WorkerTeachOption {
pub blueprint_id: String,
pub label: String,
pub cost_copper: u64,
pub min_level: u32,
pub worker_level: u32,
pub can_afford: bool,
pub level_ok: bool,
}Expand description
One teachable blueprint in the workers-menu teach picker.
Fields§
§blueprint_id: String§label: String§cost_copper: u64§min_level: u32§worker_level: u32§can_afford: bool§level_ok: boolTrait Implementations§
Source§impl Clone for WorkerTeachOption
impl Clone for WorkerTeachOption
Source§fn clone(&self) -> WorkerTeachOption
fn clone(&self) -> WorkerTeachOption
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 WorkerTeachOption
impl RefUnwindSafe for WorkerTeachOption
impl Send for WorkerTeachOption
impl Sync for WorkerTeachOption
impl Unpin for WorkerTeachOption
impl UnsafeUnpin for WorkerTeachOption
impl UnwindSafe for WorkerTeachOption
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