Skip to main content

phrase

Function phrase 

Source
pub fn phrase(name: &str) -> String
Expand description

A name as an address field writes it (RFC 5322 §3.2.5): as it is when it holds only words, else between quotes, its quotes and backslashes escaped, so that “Doe, Jane” stays one name and never ends the field or the address.