Skip to main content

save

Function save 

Source
pub fn save(
    store: &Store,
    s: &Space,
    username: &str,
    password: &str,
) -> Result<String, String>
Expand description

Keeps the user name and password the person typed for s. The same user’s entry gets the new password (the old one kept as a version); another user gets an entry of its own. Returns the entry’s id.