pub struct GetChargingProfilesRequest {
pub request_id: i32,
pub evse_id: Option<i32>,
pub charging_profile: ChargingProfileCriterionType,
}
Expand description
The message GetChargingProfilesRequest can be used by the CSMS to request installed charging profiles from the Charging Station. The charging profiles will then be reported by the Charging Station via ReportChargingProfilesRequest messages.
Fields§
§request_id: i32
Reference identification that is to be used bythe Charging Station in theReportChargingProfilesRequest when provided
evse_id: Option<i32>
For which EVSE installed charging profilesSHALL be reported. If 0, only charging profiles installedon the Charging Station itself (the grid connection)SHALL be reported. If omitted, all installed chargingprofiles SHALL be reported
charging_profile: ChargingProfileCriterionType
Specifies the charging profile
Trait Implementations§
Source§impl Clone for GetChargingProfilesRequest
impl Clone for GetChargingProfilesRequest
Source§fn clone(&self) -> GetChargingProfilesRequest
fn clone(&self) -> GetChargingProfilesRequest
Returns a duplicate 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 GetChargingProfilesRequest
impl Debug for GetChargingProfilesRequest
Source§impl Default for GetChargingProfilesRequest
impl Default for GetChargingProfilesRequest
Source§fn default() -> GetChargingProfilesRequest
fn default() -> GetChargingProfilesRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetChargingProfilesRequest
impl<'de> Deserialize<'de> for GetChargingProfilesRequest
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 GetChargingProfilesRequest
Auto Trait Implementations§
impl Freeze for GetChargingProfilesRequest
impl RefUnwindSafe for GetChargingProfilesRequest
impl Send for GetChargingProfilesRequest
impl Sync for GetChargingProfilesRequest
impl Unpin for GetChargingProfilesRequest
impl UnwindSafe for GetChargingProfilesRequest
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