[][src]Function validator::validate_ip

pub fn validate_ip<'a, T>(val: T) -> bool where
    T: Into<Cow<'a, str>>, 

Validates whether the given string is an IP