pub struct Production {
    pub from: DateTime<FixedOffset>,
    pub to: DateTime<FixedOffset>,
    pub profit: f64,
    pub unit_price: f64,
    pub unit_price_vat: f64,
    pub energy: EnergyUnits,
}Expand description
Production data
Fields§
§from: DateTime<FixedOffset>Start of interval
to: DateTime<FixedOffset>End of interval
profit: f64Total price
unit_price: f64Price pr unit
unit_price_vat: f64Tax pr unit
energy: EnergyUnitsType of units and units
Trait Implementations§
Source§impl Clone for Production
 
impl Clone for Production
Source§fn clone(&self) -> Production
 
fn clone(&self) -> Production
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 Production
impl RefUnwindSafe for Production
impl Send for Production
impl Sync for Production
impl Unpin for Production
impl UnwindSafe for Production
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