Skip to main content

add_site_as

Function add_site_as 

Source
pub fn add_site_as(
    path: &Path,
    id: &str,
    name: &str,
    url: &str,
    kind: &str,
    area: &str,
    announced_by: &[String],
    categories: &[String],
) -> Result<(), String>
Expand description

Adds a site as the Sites page offers it: its name, address, type (“mailbox”, “chat”…), what it is for (“” for its type’s), the domains whose mail announces it, your categories (“Banque”).