Skip to main content

one_of

Function one_of 

Source
pub fn one_of<I, S>(names: I) -> Spec
where I: IntoIterator<Item = S>, S: Into<String>,
Expand description

One required slot with several interchangeable spellings — oneOf([...]).