Skip to main content

slugify_key

Function slugify_key 

Source
pub fn slugify_key(label: &str) -> String
Expand description

Derive a valid field key from a human label (builder auto-slug helper). Lowercases, replaces runs of non-alphanumerics with _, and ensures it starts with a letter. Returns field when nothing usable remains.