pub struct EurPerMwh(/* private fields */);Expand description
Energy price in euros per megawatt-hour (day-ahead, intraday, aFRR energy).
Implementations§
Source§impl EurPerMwh
impl EurPerMwh
Sourcepub fn checked_add(self, other: Self) -> Option<Self>
pub fn checked_add(self, other: Self) -> Option<Self>
Checked addition; None on overflow.
Sourcepub fn checked_sub(self, other: Self) -> Option<Self>
pub fn checked_sub(self, other: Self) -> Option<Self>
Checked subtraction; None on overflow.
Trait Implementations§
impl Copy for EurPerMwh
Source§impl<'de> Deserialize<'de> for EurPerMwh
impl<'de> Deserialize<'de> for EurPerMwh
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 Eq for EurPerMwh
Source§impl Ord for EurPerMwh
impl Ord for EurPerMwh
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for EurPerMwh
impl PartialOrd for EurPerMwh
impl StructuralPartialEq for EurPerMwh
Auto Trait Implementations§
impl Forget for EurPerMwh
impl Freeze for EurPerMwh
impl Move for EurPerMwh
impl RefUnwindSafe for EurPerMwh
impl Send for EurPerMwh
impl Sync for EurPerMwh
impl Unpin for EurPerMwh
impl UnsafeUnpin for EurPerMwh
impl UnwindSafe for EurPerMwh
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