rust_ocpp/v1_6/messages/clear_cache.rs
1use crate::v1_6::types::ClearCacheStatus;
2
3#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Default)]
4pub struct ClearCacheRequest {
5 // This contains the field definition of the ClearCache.req PDU sent by the Central System to the Charge Point. See also Clear Cache. No fields are defined.
6}
7
8#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Default)]
9#[serde(rename_all = "camelCase")]
10/// This contains the field definition of the ClearCache.conf PDU sent by the Charge Point to the Central System in response to a ClearCache.req PDU. See also Clear Cache
11pub struct ClearCacheResponse {
12 pub status: ClearCacheStatus,
13}