Skip to main content

replace

Function replace 

Source
pub fn replace(
    store: &Store,
    id: &str,
    password: &str,
) -> Result<Option<String>, String>
Expand description

The site refused the password made for entry id and the person asked for another: the new one replaces it, the refused one kept as a previous version. Only while the entry is still unconfirmed; None otherwise, and the caller makes a new entry.