pub struct NotifyChargingLimitRequest {
pub evse_id: Option<i32>,
pub charging_limit: ChargingLimitType,
pub charging_schedule: Option<Vec<ChargingScheduleType>>,
}
Expand description
The message NotifyChargingLimitRequest can be used to communicate a charging limit, set by an external system on the Charging Station (Not installed by the CSO via SetChargingProfileRequest), to the CSMS.
Fields§
§evse_id: Option<i32>
The charging schedule contained in thisnotification applies to an EVSE. evseId must be > 0.
charging_limit: ChargingLimitType
This contains the source of the charging limitand whether it is grid critical.
charging_schedule: Option<Vec<ChargingScheduleType>>
Contains limits for the available power orcurrent over time, as set by the external source.
Trait Implementations§
Source§impl Clone for NotifyChargingLimitRequest
impl Clone for NotifyChargingLimitRequest
Source§fn clone(&self) -> NotifyChargingLimitRequest
fn clone(&self) -> NotifyChargingLimitRequest
Returns a copy 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 NotifyChargingLimitRequest
impl Debug for NotifyChargingLimitRequest
Source§impl Default for NotifyChargingLimitRequest
impl Default for NotifyChargingLimitRequest
Source§fn default() -> NotifyChargingLimitRequest
fn default() -> NotifyChargingLimitRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NotifyChargingLimitRequest
impl<'de> Deserialize<'de> for NotifyChargingLimitRequest
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 StructuralPartialEq for NotifyChargingLimitRequest
Auto Trait Implementations§
impl Freeze for NotifyChargingLimitRequest
impl RefUnwindSafe for NotifyChargingLimitRequest
impl Send for NotifyChargingLimitRequest
impl Sync for NotifyChargingLimitRequest
impl Unpin for NotifyChargingLimitRequest
impl UnwindSafe for NotifyChargingLimitRequest
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