rust-ocpp 3.0.4

ocpp 1.6, 2.0.1 and 2.1 libraries
Documentation
use serde::{Deserialize, Serialize};

/// Result of operation.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub enum DERControlStatusEnumType {
    #[serde(rename = "Accepted")]
    Accepted,
    #[serde(rename = "Rejected")]
    Rejected,
    #[serde(rename = "NotSupported")]
    NotSupported,
    #[serde(rename = "NotFound")]
    NotFound,
}

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