ocpp/v2_0_1/enum/ocpp_interface
OCPP 2.0.1 OcppInterface enumeration (schema OCPPInterfaceEnumType).
to_json/decoder map each constructor to/from its exact schema token.
Types
Applicable Network Interface.
pub type OcppInterface {
Wired0
Wired1
Wired2
Wired3
Wireless0
Wireless1
Wireless2
Wireless3
}
Constructors
-
Wired0 -
Wired1 -
Wired2 -
Wired3 -
Wireless0 -
Wireless1 -
Wireless2 -
Wireless3
Values
pub fn decoder() -> decode.Decoder(OcppInterface)
Decode a OcppInterface from its exact schema token.
pub fn to_json(value: OcppInterface) -> json.Json
Encode a OcppInterface to its exact schema token.