Skip to main content

new_id

Function new_id 

Source
pub fn new_id(author: &str) -> Result<String>
Expand description

Mint an id for a new record.

The author is part of the id, which is what makes ownership checkable without a registry: any reader can tell whose record it is by looking at it.