pub fn check_integer(text: &str) -> Result<i64, String>
Checks the text of an integer field: an optional - and at most 15 digits.
-
Returns the detail of the failure.