YNZMKRJDWYOQ3R3XHA2G47YG2SDI7FT7AEXH3OLB3BJGB6ALTRQAC
fn author_string(&self, a: &Author) -> String {
if let Some(name) = a.0.get("name") {
if let Some(email) = a.0.get("email") {
return format!("{} <{}>", name, email);
}
return format!("{} <>", name);
}
if let Some(email) = a.0.get("email") {
return format!("<{}>", email);
}
if let Some(key) = a.0.get("key") {
return format!("{} <>", key);
}
return "<>".to_string();
}