Skip to main content

display_name

Function display_name 

Source
pub fn display_name(
    display: Option<&str>,
    given: Option<&str>,
    initials: Option<&str>,
    surname: Option<&str>,
) -> Option<String>
Expand description

A person’s name in natural order: display when it says anything, else the given name, initials and surname that are present, joined by single spaces; None when nothing is.