pub trait StructureIdentifier: Copy + Clone + Debug + TryFrom<isize> + Into<isize> {
    // Required method
    fn allowed_values(no_catchall: bool) -> Option<HashSet<isize>>;
}

Required Methods§

source

fn allowed_values(no_catchall: bool) -> Option<HashSet<isize>>

If the structure field allows for any value, return None; otherwise, return Some(HashSet<allowed_values>). no_catchall, if true, ignores the “catch-all” variant in determining what is allowed if present.

Object Safety§

This trait is not object safe.

Implementors§