Skip to main content

field_attribute_name

Function field_attribute_name 

pub fn field_attribute_name(raw: &str) -> Option<&str>
Expand description

The bare name of a field-level attribute, with the @ sigil and any (...) argument list removed: @length(min: 1) -> Some("length"). None for model-level @@... text or text without the sigil.