#[repr(u8)]pub enum Cause {
Normalcompletion = 0,
Offline = 1,
Fault = 2,
Useroptout = 3,
Cancelled = 4,
}Variants§
Normalcompletion = 0
The ESA completed the power adjustment as requested
Offline = 1
The ESA was set to offline
Fault = 2
The ESA has developed a fault could not complete the adjustment
Useroptout = 3
The user has disabled the ESA’s flexibility capability
Cancelled = 4
The adjustment was cancelled by a client
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Cause
impl<'de> Deserialize<'de> for Cause
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 Cause
impl Eq for Cause
impl StructuralPartialEq for Cause
Auto Trait Implementations§
impl Freeze for Cause
impl RefUnwindSafe for Cause
impl Send for Cause
impl Sync for Cause
impl Unpin for Cause
impl UnwindSafe for Cause
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