pub struct RosterStatus {
pub org_id: String,
pub serial: u64,
pub state: String,
pub org_root_fingerprint: String,
pub groups: Vec<String>,
}Expand description
Roster-mode status. Surface-clean roster VOCABULARY only: org_id, serial, a plain state word, and the pinned org-root FINGERPRINT in short words — never raw keys/EndpointIds/serials- as-transport-vocab. Absent in a pure-pairing daemon.
Fields§
§org_id: String§serial: u64§state: String§org_root_fingerprint: String§groups: Vec<String>The org’s DECLARED group namespace, in roster document order (#93). api_minor >= 46.
The set an allow entry may name — a roster is refused if any user carries a group outside
it — so this is what a UI offers when assigning membership. Without it an embedder in roster
mode had managed group membership it could not enumerate, and the only way to learn the
groups was to hand-parse the daemon-owned roster.json.
Display/authoring input, never an authorization answer: naming a group grants nothing. Additive — a payload from an older daemon reads as an empty list.
Trait Implementations§
Source§impl Clone for RosterStatus
impl Clone for RosterStatus
Source§fn clone(&self) -> RosterStatus
fn clone(&self) -> RosterStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more