rust-ocpp 3.0.4

ocpp 1.6, 2.0.1 and 2.1 libraries
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Deserialize, Serialize};

/// Indicates if the Charging Station was able to execute the request.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub enum ClearChargingProfileStatusEnumType {
    #[serde(rename = "Accepted")]
    Accepted,
    #[serde(rename = "Unknown")]
    Unknown,
}

impl Default for ClearChargingProfileStatusEnumType {
    fn default() -> Self {
        Self::Accepted
    }
}