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 that one app keeps for every app 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, and converge over the person’s own room. Only the
OWNER and the 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.