Skip to main content

non_empty_string

Function non_empty_string 

Source
pub(crate) fn non_empty_string(
    value: Option<&Value>,
    what: &str,
) -> Result<String, EditError>
Expand description

The value as a string with more than whitespace in it. Errors with InvalidValue saying that what is one.