pub struct UnderworldProduction {
pub last_collectable: u64,
pub limit: u64,
pub per_hour: u64,
}Expand description
Information about the producion of a resource in the fortress. Note that experience will not have some of these fields
Fields§
§last_collectable: u64The amount the production building has already produced, that you can
collect. Note that this value will be out of date by some amount of
time. If you need the exact current amount collectable, look at
last_collectable_update
limit: u64The maximum amount of this resource, that this building can store. If
building_collectable == building_limit the production stops
per_hour: u64The amount of this resource the corresponding production building produces per hour. The adventuromatics amount will be per day here
Trait Implementations§
Source§impl Clone for UnderworldProduction
impl Clone for UnderworldProduction
Source§fn clone(&self) -> UnderworldProduction
fn clone(&self) -> UnderworldProduction
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 moreSource§impl Debug for UnderworldProduction
impl Debug for UnderworldProduction
Source§impl Default for UnderworldProduction
impl Default for UnderworldProduction
Source§fn default() -> UnderworldProduction
fn default() -> UnderworldProduction
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnderworldProduction
impl<'de> Deserialize<'de> for UnderworldProduction
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
Auto Trait Implementations§
impl Freeze for UnderworldProduction
impl RefUnwindSafe for UnderworldProduction
impl Send for UnderworldProduction
impl Sync for UnderworldProduction
impl Unpin for UnderworldProduction
impl UnwindSafe for UnderworldProduction
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