pub struct LuaElectricNetworkGetAccumulatorsEnergyParams {
pub name: LuaAny,
pub quality: LuaAny,
}Expand description
Gets total energy stored inside of accumulators that are part of any electric sub network covered by this electric network.
Fields§
§name: LuaAnyWhen given, only accumulators of this prototype will be considered.
quality: LuaAnyWhen given, only accumulators of this quality will be considered.
Trait Implementations§
Source§impl Clone for LuaElectricNetworkGetAccumulatorsEnergyParams
impl Clone for LuaElectricNetworkGetAccumulatorsEnergyParams
Source§fn clone(&self) -> LuaElectricNetworkGetAccumulatorsEnergyParams
fn clone(&self) -> LuaElectricNetworkGetAccumulatorsEnergyParams
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 moreSource§impl Default for LuaElectricNetworkGetAccumulatorsEnergyParams
impl Default for LuaElectricNetworkGetAccumulatorsEnergyParams
Source§fn default() -> LuaElectricNetworkGetAccumulatorsEnergyParams
fn default() -> LuaElectricNetworkGetAccumulatorsEnergyParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for LuaElectricNetworkGetAccumulatorsEnergyParams
impl RefUnwindSafe for LuaElectricNetworkGetAccumulatorsEnergyParams
impl Send for LuaElectricNetworkGetAccumulatorsEnergyParams
impl Sync for LuaElectricNetworkGetAccumulatorsEnergyParams
impl Unpin for LuaElectricNetworkGetAccumulatorsEnergyParams
impl UnsafeUnpin for LuaElectricNetworkGetAccumulatorsEnergyParams
impl UnwindSafe for LuaElectricNetworkGetAccumulatorsEnergyParams
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