Skip to main content

from_safe

Function from_safe 

Source
pub fn from_safe(
    entries: &[String],
    contacts: &[Contact],
) -> (Vec<Person>, usize)
Expand description

People from the Safe list: each address, with its card’s name and numbers when a card has it; everyone whose card is in a category on it (category:Friends); a card on it (contact:<UID>); a number on it (tel:+33…). Patterns (@example.org, *@example.org, tel:+3319900*) name nobody: counted, left.