domain_str

Function domain_str 

Source
pub fn domain_str(s: &str) -> Option<&str>
Expand description

Look up the organizational (registrable) domain. The caller is expected to pass an already-normalized domain (typically via normalize_domain); the returned slice borrows from s.