Skip to main content

set_person

Function set_person 

Source
pub fn set_person(
    config: &Config,
    uid: &str,
    addresses: &[String],
    numbers: &[String],
    standing: Option<Standing>,
) -> Result<(), String>
Expand description

A person’s state, for all their addresses and numbers (a contact card’s chooser): their card on one list (contact:<UID>), or on none (standing none: their categories decide), and the own entries of their addresses and numbers taken out, so that the card decides for all of them. A card without a UID gets its addresses and numbers written one by one instead.