ocpp/v2_0_1/enum/ocpp_transport
OCPP 2.0.1 OcppTransport enumeration (schema OCPPTransportEnumType).
to_json/decoder map each constructor to/from its exact schema token.
Types
Defines the transport protocol (e.g. SOAP or JSON). Note: SOAP is not supported in OCPP 2.0, but is supported by other versions of OCPP.
Data dictionary: Communication_Function.OCPP_Transport.OCPP_Transport_Code · urn:x-oca:ocpp:uid:1:569356
pub type OcppTransport {
Json
Soap
}
Constructors
-
Json -
Soap
Values
pub fn decoder() -> decode.Decoder(OcppTransport)
Decode a OcppTransport from its exact schema token.
pub fn to_json(value: OcppTransport) -> json.Json
Encode a OcppTransport to its exact schema token.