Skip to main content

Module helpers

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. See route_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 e is exactly the “Unknown property” marker produced by the Configurable derive’s set_prop/get_prop fallback (and by prop_name_to_serde_field in this module) for the specific property name the 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 PropFieldInfo by 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