[][src]Enum reso_dd::GreenEnergyGeneration

pub enum GreenEnergyGeneration {
    Solar,
    Wind,
    OpenEnumeration(String),
}

Variants

Solar

"Solar": Renewable form of onsite power generation. Most common are solar photovoltaic (PV) devices which generate electricity directly from sunlight via an electronic process that occurs naturally in certain types of material, called semiconductors. Powers electrical devices or sends electricity to the grid. See: http://www.seia.org/policy/solar-technology/photovoltaic-solar-electric

Wind

"Wind": Renewable form of onsite power generation. Wind turbines use wind to make electricity. Powers electrical devices or sends electricity to the grid. See: http://energy.gov/eere/wind/how-do-wind-turbines-work

OpenEnumeration(String)

A value that was not defined by the enumeration

Trait Implementations

impl Clone for GreenEnergyGeneration[src]

impl Debug for GreenEnergyGeneration[src]

impl<'de> Deserialize<'de> for GreenEnergyGeneration[src]

impl Eq for GreenEnergyGeneration[src]

impl<'_> From<&'_ str> for GreenEnergyGeneration[src]

impl<'a> From<&'a GreenEnergyGeneration> for &'a str[src]

impl From<String> for GreenEnergyGeneration[src]

impl PartialEq<GreenEnergyGeneration> for GreenEnergyGeneration[src]

impl ResoEnumeration for GreenEnergyGeneration[src]

impl Serialize for GreenEnergyGeneration[src]

impl StructuralEq for GreenEnergyGeneration[src]

impl StructuralPartialEq for GreenEnergyGeneration[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.