#[repr(u8)]pub enum ForecastUpdateReason {
Internaloptimization = 0,
Localoptimization = 1,
Gridoptimization = 2,
}Variants§
Internaloptimization = 0
The update was due to internal ESA device optimization
Localoptimization = 1
The update was due to local EMS optimization
Gridoptimization = 2
The update was due to grid optimization
Implementations§
Trait Implementations§
Source§impl Clone for ForecastUpdateReason
impl Clone for ForecastUpdateReason
Source§fn clone(&self) -> ForecastUpdateReason
fn clone(&self) -> ForecastUpdateReason
Returns a duplicate of the value. Read more
1.0.0 · 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 ForecastUpdateReason
impl Debug for ForecastUpdateReason
Source§impl<'de> Deserialize<'de> for ForecastUpdateReason
impl<'de> Deserialize<'de> for ForecastUpdateReason
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
Source§impl From<ForecastUpdateReason> for u8
impl From<ForecastUpdateReason> for u8
Source§fn from(val: ForecastUpdateReason) -> Self
fn from(val: ForecastUpdateReason) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ForecastUpdateReason
impl PartialEq for ForecastUpdateReason
Source§impl Serialize for ForecastUpdateReason
impl Serialize for ForecastUpdateReason
impl Copy for ForecastUpdateReason
impl Eq for ForecastUpdateReason
impl StructuralPartialEq for ForecastUpdateReason
Auto Trait Implementations§
impl Freeze for ForecastUpdateReason
impl RefUnwindSafe for ForecastUpdateReason
impl Send for ForecastUpdateReason
impl Sync for ForecastUpdateReason
impl Unpin for ForecastUpdateReason
impl UnwindSafe for ForecastUpdateReason
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