pub struct Moer {
pub region: GridRegion,
pub rate: f64,
pub start: DateTime<Utc>,
pub duration: Duration,
}Expand description
A Marginal Operating Emissions Rate (MOER).
Fields§
§region: GridRegionThe grid region for the rate.
rate: f64The emissions rate itself, in kg CO2 / kWh.
start: DateTime<Utc>The start time for the rate.
duration: DurationThe duration for rate.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Moer
impl<'de> Deserialize<'de> for Moer
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
Auto Trait Implementations§
impl Freeze for Moer
impl RefUnwindSafe for Moer
impl Send for Moer
impl Sync for Moer
impl Unpin for Moer
impl UnwindSafe for Moer
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