1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::v1_6::types::{ResetRequestStatus, ResetResponseStatus};

/// This contains the field definition of the ResetRequest PDU sent by the Central System to the Charge Point. See also Reset
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Default)]
#[serde(rename_all = "camelCase")]
pub struct ResetRequest {
    /// Required. This contains the type of reset that the Charge Point should perform.
    #[serde(rename = "type")]
    pub kind: ResetRequestStatus,
}

/// This contains the field definition of the ResetResponse PDU sent by the Charge Point to the Central System inresponse to a ResetRequest PDU. See also Reset
#[derive(serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Default)]
#[serde(rename_all = "camelCase")]
pub struct ResetResponse {
    // Required. This indicates whether the Charge Point is able to perform the reset.
    pub status: ResetResponseStatus,
}