Module helpers
Expand description
Property helpers used by the Configurable derive macro and the zeroclaw config CLI.
Enums§
- VecRoute
- Outcome of routing a
<prefix>.<field>.<natural_key>.<suffix>path into a#[nested] Vec<T>field. Seeroute_vec_path.
Functions§
- enum_
variants - Return a comma-separated string of valid enum variant names for display in error messages.
- is_
unknown_ property_ error - True when
eis exactly the “Unknown property” marker produced by theConfigurablederive’sset_prop/get_propfallback (and byprop_name_to_serde_fieldin this module) for the specific propertynamethe caller just tried. Namespace-sharing nested delegation sites (serde-flatten,Option<T>, dotted-key candidate loops) use it to tell “not one of mine — keep trying siblings” apart from a real value error on a confirmed path. - kebab_
to_ snake - make_
prop_ field - Build a
PropFieldInfoby reading the display value from a serialized TOML table. - object_
array_ json_ display_ value - resolve_
field_ path - route_
double_ hashmap_ path - route_
hashmap_ path - route_
vec_ path - serde_
get_ prop - Get a property value via serde serialization.
- serde_
set_ prop - Set a property value via serde roundtrip.
- validate_
alias_ key