rust_ocpp/v1_6/messages/get_local_list_version.rs
1/// This contains the field definition of the GetLocalListVersion.req PDU sent by the Central System to the Charge Point. See also Get Local List Version
2#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Default)]
3#[serde(rename_all = "camelCase")]
4pub struct GetLocalListVersionRequest {
5 // No fields are defined.
6}
7
8/// This contains the field definition of the GetDiagnostics.conf PDU sent by the Charge Point to the Central System in response to a GetDiagnosticsRequest PDU. See also Get Diagnostics
9#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Default)]
10#[serde(rename_all = "camelCase")]
11pub struct GetLocalListVersionResponse {
12 /// Required. This contains the current version number of the local authorization list in the Charge Point.
13 pub list_version: i32,
14}