Crate dynconfig

Crate dynconfig 

Source
Expand description

dynconfig



Dynamically change fields of a struct based on a path.

version-badge tests-badge docs-badge license-badge



An opinionated crate for dynamically updating members of a struct based on key-value pairs.

Modules§

pair
Pair.

Structs§

Error
Error returned by Dynconfig.
Pair
A Path and value.
Path
An iterator over the components of the path of a field.

Traits§

Dynconfig
An item whose values can be dynamically updated.
Value
An updatable value.

Functions§

parse
Shorthand for parsing x into a Pair.
set
Shorthand for calling Dynconfig::set with pair.
set_many
Shorthand for calling Dynconfig::set with many values.

Type Aliases§

Result

Derive Macros§

Dynconfigderive
Derive the Dynconfig trait.