pub struct NotifyDERStartStopRequest {
pub control_id: String,
pub started: bool,
pub timestamp: DateTime,
pub superseded_ids: Option<Vec<String>>,
pub custom_data: Option<CustomData>,
}Fields§
§control_id: StringId of the started or stopped DER control. Corresponds to the controlId of the SetDERControlRequest.
started: boolTrue if DER control has started. False if it has ended.
timestamp: DateTimeTime of start or end of event.
superseded_ids: Option<Vec<String>>List of controlIds that are superseded as a result of this control starting.
custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for NotifyDERStartStopRequest
impl Clone for NotifyDERStartStopRequest
Source§impl Debug for NotifyDERStartStopRequest
impl Debug for NotifyDERStartStopRequest
Source§impl<'de> Deserialize<'de> for NotifyDERStartStopRequest
impl<'de> Deserialize<'de> for NotifyDERStartStopRequest
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 Request for NotifyDERStartStopRequest
impl Request for NotifyDERStartStopRequest
impl StructuralPartialEq for NotifyDERStartStopRequest
Auto Trait Implementations§
impl Freeze for NotifyDERStartStopRequest
impl RefUnwindSafe for NotifyDERStartStopRequest
impl Send for NotifyDERStartStopRequest
impl Sync for NotifyDERStartStopRequest
impl Unpin for NotifyDERStartStopRequest
impl UnsafeUnpin for NotifyDERStartStopRequest
impl UnwindSafe for NotifyDERStartStopRequest
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