pub struct ClearChargingProfileRequest {
pub charging_profile_id: Option<i64>,
pub charging_profile_criteria: Option<ClearChargingProfileType>,
}
Expand description
ClearChargingProfileRequest
, sent by the CSMS to the Charging Station.
The CSMS can use this message to clear (remove) either a specific charging profile (denoted by id) or a selection of charging profiles that match with the values of the optional evse, stackLevel and ChargingProfilePurpose fields.
Fields§
§charging_profile_id: Option<i64>
The Id of the charging profile to clear.
charging_profile_criteria: Option<ClearChargingProfileType>
Specifies the charging profile.
Trait Implementations§
source§impl Clone for ClearChargingProfileRequest
impl Clone for ClearChargingProfileRequest
source§fn clone(&self) -> ClearChargingProfileRequest
fn clone(&self) -> ClearChargingProfileRequest
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 ClearChargingProfileRequest
impl Debug for ClearChargingProfileRequest
source§impl Default for ClearChargingProfileRequest
impl Default for ClearChargingProfileRequest
source§fn default() -> ClearChargingProfileRequest
fn default() -> ClearChargingProfileRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClearChargingProfileRequest
impl<'de> Deserialize<'de> for ClearChargingProfileRequest
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<ClearChargingProfileRequest> for ClearChargingProfileRequest
impl PartialEq<ClearChargingProfileRequest> for ClearChargingProfileRequest
source§fn eq(&self, other: &ClearChargingProfileRequest) -> bool
fn eq(&self, other: &ClearChargingProfileRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.