#[repr(u8)]pub enum CostType {
Financial = 0,
Ghgemissions = 1,
Comfort = 2,
Temperature = 3,
}Variants§
Financial = 0
Financial cost
Ghgemissions = 1
Grid CO2e grams cost
Comfort = 2
Consumer comfort impact cost
Temperature = 3
Temperature impact cost
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CostType
impl<'de> Deserialize<'de> for CostType
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 Copy for CostType
impl Eq for CostType
impl StructuralPartialEq for CostType
Auto Trait Implementations§
impl Freeze for CostType
impl RefUnwindSafe for CostType
impl Send for CostType
impl Sync for CostType
impl Unpin for CostType
impl UnwindSafe for CostType
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