Skip to main content

string_not_in_slice_list

Function string_not_in_slice_list 

Source
pub fn string_not_in_slice_list(
    field_context: &FieldContext<'_>,
    value: &str,
    target: &'static [&'static str],
    error_message: &'static str,
) -> Result<(), Violation>