Skip to main content

human_label

Function human_label 

pub fn human_label<'a>(label: &'a str, id: &str) -> Option<&'a str>
Expand description

label when a person could read it as a name; None when it is empty, repeats the machine id, or carries an identifier such as a hash or uuid. Producers fall back to ids when a record has no title yet, and those must not reach anyone reading the activity feed.