Module field

Source
Expand description

Validating and encoding individual configuration fields.

Enums§

FieldError
Error from working with a field from a configuration value file.
JsonTy
The types a serde_json::Value can have. Used for error reporting.

Functions§

config_value_from_json_value
Returns a FIDL value to encode in the file for the provided JSON value, if and only if the value matches the type from the declaration.