pub struct LimitMaxDischarge {
pub priority: i64,
pub pct_max_discharge_power: Option<f64>,
pub power_monitoring_must_trip: Option<DERCurve>,
pub start_time: Option<DateTime>,
pub duration: Option<f64>,
pub custom_data: Option<CustomData>,
}Fields§
§priority: i64Priority of setting (0=highest)
pct_max_discharge_power: Option<f64>Only for PowerMonitoring. + The value specifies a percentage (0 to 100) of the rated maximum discharge power of EV. The PowerMonitoring curve becomes active when power exceeds this percentage.
power_monitoring_must_trip: Option<DERCurve>§start_time: Option<DateTime>Time when this setting becomes active
duration: Option<f64>Duration in seconds that this setting is active
custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for LimitMaxDischarge
impl Clone for LimitMaxDischarge
Source§impl Debug for LimitMaxDischarge
impl Debug for LimitMaxDischarge
Source§impl<'de> Deserialize<'de> for LimitMaxDischarge
impl<'de> Deserialize<'de> for LimitMaxDischarge
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 LimitMaxDischarge
impl PartialEq for LimitMaxDischarge
Source§impl Serialize for LimitMaxDischarge
impl Serialize for LimitMaxDischarge
impl StructuralPartialEq for LimitMaxDischarge
Auto Trait Implementations§
impl Freeze for LimitMaxDischarge
impl RefUnwindSafe for LimitMaxDischarge
impl Send for LimitMaxDischarge
impl Sync for LimitMaxDischarge
impl Unpin for LimitMaxDischarge
impl UnsafeUnpin for LimitMaxDischarge
impl UnwindSafe for LimitMaxDischarge
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