rust_ocpp/v2_0_1/messages/
cleared_charging_limit.rs

1//! ClearedChargingLimit
2use crate::v2_0_1::enumerations::charging_limit_source_enum_type::ChargingLimitSourceEnumType;
3
4/// ClearedChargingLimitRequest, sent by the Charging Station to the CSMS
5#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Default)]
6#[serde(rename_all = "camelCase")]
7pub struct ClearedChargingLimitRequest {
8    /// Source of the charging limit.
9    pub charging_limit_source: ChargingLimitSourceEnumType,
10    /// EVSE Identifier.
11    #[serde(skip_serializing_if = "Option::is_none")]
12    pub evse_id: Option<i32>,
13}
14
15/// ClearedChargingLimitResponse, sent by the CSMS to the Charging Station.
16#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Default)]
17#[serde(rename_all = "camelCase")]
18pub struct ClearedChargingLimitResponse {
19    // No fields are defined.
20}