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
use serde::{Deserialize, Serialize};

/// Defines the transport protocol (e.g. SOAP or JSON).
/// Note: SOAP is not supported in OCPP 2.x, but is supported by earlier versions of OCPP.
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
pub enum OCPPTransportEnumType {
    #[serde(rename = "SOAP")]
    SOAP,
    #[serde(rename = "JSON")]
    JSON,
}