pub fn parse_scalar<T>(
key: &str,
values: &FormValues,
blank: Option<T>,
) -> Result<T, FieldError>where
T: FormScalar,Expand description
Read one scalar from a completed submission.
Trims the value; an empty one is blank, the field’s blank answer, or
refuses as FieldErrorKind::Required when it has none.