pub struct BudgetRow {
pub id: String,
pub owner_key: String,
pub quantity_key: String,
pub energy: f64,
}Expand description
One line of an energy budget.
Fields§
§id: Stringcopper.<motor>, emf.<motor> (only with a back-EMF constant other than the torque constant), resistor, mains, line_module, a machine’s loss signal (power.<place>), windings,
capacitors, a machine’s energy signal (energy.<part>) or payload.
owner_key: StringThe label, as two translation keys like a signal’s.
quantity_key: String§energy: f64Energy over the measured pass, J: lost, or for a store what it holds more at the end than at the start.
Trait Implementations§
impl StructuralPartialEq for BudgetRow
Auto Trait Implementations§
impl Freeze for BudgetRow
impl RefUnwindSafe for BudgetRow
impl Send for BudgetRow
impl Sync for BudgetRow
impl Unpin for BudgetRow
impl UnsafeUnpin for BudgetRow
impl UnwindSafe for BudgetRow
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