Skip to main content

valid_name

Function valid_name 

Source
pub fn valid_name(name: &str) -> bool
Expand description

Whether name is a valid field name: kebab-case as the parser has it for every resource, 1 to 63 lowercase letters, digits and hyphens, starting with a letter and ending with a letter or digit.