pub struct ClearChargingProfileRequest {
pub charging_profile_id: Option<i32>,
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<i32>
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 for ClearChargingProfileRequest
impl PartialEq 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 ==
.impl StructuralPartialEq for ClearChargingProfileRequest
Auto Trait Implementations§
impl Freeze for ClearChargingProfileRequest
impl RefUnwindSafe for ClearChargingProfileRequest
impl Send for ClearChargingProfileRequest
impl Sync for ClearChargingProfileRequest
impl Unpin for ClearChargingProfileRequest
impl UnwindSafe for ClearChargingProfileRequest
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