Skip to main content

display_name

Function display_name 

Source
pub fn display_name<'a>(
    profiles: &'a HashMap<PublicKey, Profile>,
    public_key: &PublicKey,
) -> Cow<'a, str>
Expand description

The name someone goes by: the one in their profile, or a short form of their public key until (and unless) they have one.