ocpp/v2_1/enum/set_variable_status

OCPP 2.1 SetVariableStatus enumeration (schema SetVariableStatusEnumType).

to_json/decoder map each constructor to/from its exact schema token.

Types

Result status of setting the variable.

pub type SetVariableStatus {
  Accepted
  Rejected
  UnknownComponent
  UnknownVariable
  NotSupportedAttributeType
  RebootRequired
}

Constructors

  • Accepted
  • Rejected
  • UnknownComponent
  • UnknownVariable
  • NotSupportedAttributeType
  • RebootRequired

Values

pub fn decoder() -> decode.Decoder(SetVariableStatus)

Decode a SetVariableStatus from its exact schema token.

pub fn to_json(value: SetVariableStatus) -> json.Json

Encode a SetVariableStatus to its exact schema token.

Search Document