pub trait SERandomizableEvent: SEEvent {
    // Required methods
    fn randomize_duration(&self) -> Option<OneHourRangeType>;
    fn randomize_start(&self) -> Option<OneHourRangeType>;
}
Expand description

Implemented by all types whose base type is RandomizableEvent

Required Methods§

Implementors§

source§

impl SERandomizableEvent for DERControl

Available on crate feature der only.
source§

impl SERandomizableEvent for EndDeviceControl

Available on crate feature drlc only.
source§

impl SERandomizableEvent for TimeTariffInterval

Available on crate feature pricing only.