pub struct AutoCraftConfig {
pub recipe_id: String,
pub target_quantity: u32,
pub owner_id: String,
pub stop_at_stock: u32,
}Expand description
Configuration for an AutoCrafter run.
Fields§
§recipe_id: String§target_quantity: u32§owner_id: String§stop_at_stock: u32Minimum inventory of the output item before stopping.
Implementations§
Trait Implementations§
Source§impl Clone for AutoCraftConfig
impl Clone for AutoCraftConfig
Source§fn clone(&self) -> AutoCraftConfig
fn clone(&self) -> AutoCraftConfig
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 moreAuto Trait Implementations§
impl Freeze for AutoCraftConfig
impl RefUnwindSafe for AutoCraftConfig
impl Send for AutoCraftConfig
impl Sync for AutoCraftConfig
impl Unpin for AutoCraftConfig
impl UnsafeUnpin for AutoCraftConfig
impl UnwindSafe for AutoCraftConfig
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