pub struct NotifyDERAlarmRequest {
pub control_type: DERControlEnum,
pub grid_event_fault: Option<GridEventFaultEnum>,
pub alarm_ended: Option<bool>,
pub timestamp: DateTime,
pub extra_info: Option<String>,
pub custom_data: Option<CustomData>,
}Fields§
§control_type: DERControlEnum§grid_event_fault: Option<GridEventFaultEnum>§alarm_ended: Option<bool>True when error condition has ended. Absent or false when alarm has started.
timestamp: DateTimeTime of start or end of alarm.
extra_info: Option<String>Optional info provided by EV.
custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for NotifyDERAlarmRequest
impl Clone for NotifyDERAlarmRequest
Source§impl Debug for NotifyDERAlarmRequest
impl Debug for NotifyDERAlarmRequest
Source§impl<'de> Deserialize<'de> for NotifyDERAlarmRequest
impl<'de> Deserialize<'de> for NotifyDERAlarmRequest
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 PartialEq for NotifyDERAlarmRequest
impl PartialEq for NotifyDERAlarmRequest
Source§impl Request for NotifyDERAlarmRequest
impl Request for NotifyDERAlarmRequest
Source§impl Serialize for NotifyDERAlarmRequest
impl Serialize for NotifyDERAlarmRequest
impl StructuralPartialEq for NotifyDERAlarmRequest
Auto Trait Implementations§
impl Freeze for NotifyDERAlarmRequest
impl RefUnwindSafe for NotifyDERAlarmRequest
impl Send for NotifyDERAlarmRequest
impl Sync for NotifyDERAlarmRequest
impl Unpin for NotifyDERAlarmRequest
impl UnsafeUnpin for NotifyDERAlarmRequest
impl UnwindSafe for NotifyDERAlarmRequest
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