ocpp/v1_6/enum/hash_algorithm

OCPP 1.6 HashAlgorithm enumeration.

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

Types

pub type HashAlgorithm {
  Sha256
  Sha384
  Sha512
}

Constructors

  • Sha256
  • Sha384
  • Sha512

Values

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

Decode a HashAlgorithm from its exact schema token.

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

Encode a HashAlgorithm to its exact schema token.

Search Document