rust_ocpp/v2_0_1/messages/
unpublish_firmware.rs

1use crate::v2_0_1::enumerations::unpublish_firmware_status_enum_type::UnpublishFirmwareStatusEnumType;
2
3/// This contains the field definition of the UnpublishFirmwareRequest PDU sent by the CSMS to the Charging Station.
4#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Default)]
5#[serde(rename_all = "camelCase")]
6pub struct UnpublishFirmwareRequest {
7    pub checksum: String,
8}
9
10/// This contains the field definition of the UnpublishFirmwareResponse PDU sent by the Charging Station to the CSMS in response to a UnpublishFirmwareRequest.
11#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Default)]
12#[serde(rename_all = "camelCase")]
13pub struct UnpublishFirmwareResponse {
14    pub status: UnpublishFirmwareStatusEnumType,
15}