pub struct DemandResponseEvent {
pub start_step: usize,
pub end_step: usize,
pub requested_reduction_kw: f32,
}Expand description
External demand response event requesting temporary load reduction.
Fields§
§start_step: usizeStart timestep (inclusive).
end_step: usizeEnd timestep (exclusive).
requested_reduction_kw: f32Requested reduction while event is active.
Implementations§
Trait Implementations§
Source§impl Clone for DemandResponseEvent
impl Clone for DemandResponseEvent
Source§fn clone(&self) -> DemandResponseEvent
fn clone(&self) -> DemandResponseEvent
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 DemandResponseEvent
impl Debug for DemandResponseEvent
impl Copy for DemandResponseEvent
Auto Trait Implementations§
impl Freeze for DemandResponseEvent
impl RefUnwindSafe for DemandResponseEvent
impl Send for DemandResponseEvent
impl Sync for DemandResponseEvent
impl Unpin for DemandResponseEvent
impl UnwindSafe for DemandResponseEvent
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