Function format_phone_number 
Source pub fn format_phone_number(value: &str) -> Result<String, ValidationError>
Expand description
Format a phone number into a standard format
§Note
Output format is 000.000.0000
§Example
use acorn_lib::schema::validate::format_phone_number;
assert_eq!(format_phone_number("(123) 456-7890"), Ok("123.456.7890".to_string()));