pub(crate) fn to_snake_case(s: &str) -> StringExpand description
Convert a PascalCase string to snake_case.
Inserts an underscore before each uppercase letter (except the first),
then lowercases the entire result. For example, "InProgress" becomes
"in_progress".