rust_ocpp/v2_0_1/messages/
clear_variable_monitoring.rs

1//! ClearedChargingLimit
2use crate::v2_0_1::datatypes::clear_monitoring_result_type::ClearMonitoringResultType;
3
4/// ClearVariableMonitoringRequest, sent by the CSMS to the Charging Station.
5#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Default)]
6#[serde(rename_all = "camelCase")]
7pub struct ClearVariableMonitoringRequest {
8    /// List of the monitors to be cleared, identified by there Id.
9    pub id: Vec<i32>,
10}
11
12/// ClearVariableMonitoringResponse, sent by the Charging Station to the CSMS.
13#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Default)]
14#[serde(rename_all = "camelCase")]
15pub struct ClearVariableMonitoringResponse {
16    /// List of result statuses per monitor.
17    pub clear_monitoring_result: Vec<ClearMonitoringResultType>,
18}