Skip to main content

validate

Function validate 

Source
pub fn validate(item: &Item) -> Result<(), Invalid>
Expand description

Checks a model item.

Without the walk feature, type paths get only a lexical check, so generation can still refuse a path that passes here.

ยงErrors

An Invalid naming the item.