pub fn chosen<T: Copy>(options: &[(T, &str, &str)], value: &str) -> Option<T>
The option of a select field’s table options (see choices) that has the value value.
options
choices
value