Trait SharedRecord
pub trait SharedRecord: Resource {
const OWNER: &'static str;
const EDITORS: &'static [&'static str] = _;
// Provided method
fn edited_by(app_id: &str) -> bool { ... }
}Expand description
A resource of the person’s own one app keeps for all of theirs: their
accounts, which Settings keeps and Mail signs in to. Each app holds its
copy in its own store; the copies are one record, the same on every
device, kept in the person’s own scope, which no route carries yet. Only
OWNER and EDITORS change it; every
other app reads it (ViewCx::shared_person in tilo-app).
Required Associated Constants§
Provided Associated Constants§
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.