pub struct FreqDroop<CustomDataType = NoCustomData> {
pub custom_data: Option<CustomDataType>,
pub duration: Option<f64>,
pub over_droop: f64,
pub over_freq: f64,
pub priority: i64,
pub response_time: f64,
pub start_time: Option<OcppTimestamp>,
pub under_droop: f64,
pub under_freq: f64,
}Fields§
§custom_data: Option<CustomDataType>§duration: Option<f64>Duration in seconds that this setting is active
over_droop: f64Over-frequency droop per unit, oFDroop
over_freq: f64Over-frequency start of droop
priority: i64Priority of setting (0=highest)
response_time: f64Open loop response time in seconds
start_time: Option<OcppTimestamp>Time when this setting becomes active
under_droop: f64Under-frequency droop per unit, uFDroop
under_freq: f64Under-frequency start of droop
Trait Implementations§
Source§impl<'de, CustomDataType> Deserialize<'de> for FreqDroop<CustomDataType>where
CustomDataType: Deserialize<'de>,
impl<'de, CustomDataType> Deserialize<'de> for FreqDroop<CustomDataType>where
CustomDataType: Deserialize<'de>,
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<CustomDataType: PartialEq> StructuralPartialEq for FreqDroop<CustomDataType>
Auto Trait Implementations§
impl<CustomDataType> Freeze for FreqDroop<CustomDataType>where
CustomDataType: Freeze,
impl<CustomDataType> RefUnwindSafe for FreqDroop<CustomDataType>where
CustomDataType: RefUnwindSafe,
impl<CustomDataType> Send for FreqDroop<CustomDataType>where
CustomDataType: Send,
impl<CustomDataType> Sync for FreqDroop<CustomDataType>where
CustomDataType: Sync,
impl<CustomDataType> Unpin for FreqDroop<CustomDataType>where
CustomDataType: Unpin,
impl<CustomDataType> UnsafeUnpin for FreqDroop<CustomDataType>where
CustomDataType: UnsafeUnpin,
impl<CustomDataType> UnwindSafe for FreqDroop<CustomDataType>where
CustomDataType: UnwindSafe,
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