pub enum HydroEnergyConversionKind {
generator,
pumpAndGenerator,
}Expand description
Specifies the capability of the hydro generating unit to convert energy as a generator or pump.
Variants§
generator
Able to generate power, but not able to pump water for energy storage.
pumpAndGenerator
Able to both generate power and pump water for energy storage.
Implementations§
Trait Implementations§
Source§impl Clone for HydroEnergyConversionKind
impl Clone for HydroEnergyConversionKind
Source§fn clone(&self) -> HydroEnergyConversionKind
fn clone(&self) -> HydroEnergyConversionKind
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 Debug for HydroEnergyConversionKind
impl Debug for HydroEnergyConversionKind
Source§impl<'de> Deserialize<'de> for HydroEnergyConversionKind
impl<'de> Deserialize<'de> for HydroEnergyConversionKind
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
impl StructuralPartialEq for HydroEnergyConversionKind
Auto Trait Implementations§
impl Freeze for HydroEnergyConversionKind
impl RefUnwindSafe for HydroEnergyConversionKind
impl Send for HydroEnergyConversionKind
impl Sync for HydroEnergyConversionKind
impl Unpin for HydroEnergyConversionKind
impl UnsafeUnpin for HydroEnergyConversionKind
impl UnwindSafe for HydroEnergyConversionKind
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