pub struct StatusResult {
pub stack_version: String,
pub services: Vec<ServiceInfo>,
pub peers: Vec<PeerInfo>,
pub roster: Option<RosterStatus>,
pub presence: Vec<PresencePeer>,
pub self_user_id: Option<String>,
pub recent_pairings: Vec<RecentPairing>,
}Fields§
§stack_version: String§services: Vec<ServiceInfo>§peers: Vec<PeerInfo>§roster: Option<RosterStatus>Roster-mode status (§4.4), absent in a pure-pairing daemon. Additive (§6.1):
#[serde(default, skip_serializing_if = ...)] so a daemon/client without it round-trips.
presence: Vec<PresencePeer>The reachable roster peer devices (spec §10.1 advisory presence read), each with an online
flag. Empty in a pure-pairing daemon / when no roster is installed. Additive (§6.1):
#[serde(default, skip_serializing_if = "Vec::is_empty")] so an older payload round-trips.
self_user_id: Option<String>THIS daemon’s own self-sovereign user_id (b64u:<user_pk>), if it has a user key (auto-
minted at boot; shared by pairing AND roster mode). Lets the operator see + share their stable
identity that multiple devices resolve to. None only when no user key exists. Additive (§6.1):
#[serde(default, skip_serializing_if = "Option::is_none")] so an older payload round-trips.
recent_pairings: Vec<RecentPairing>Recent INVITER-side pairing completions, newest first (display-only §4.2 ceremony aids —
see RecentPairing; in-memory on the daemon, cleared by a restart). Empty on a daemon
that has accepted no pairing since it started. Additive (§6.1):
#[serde(default, skip_serializing_if = "Vec::is_empty")] so an older payload round-trips.
Trait Implementations§
Source§impl Clone for StatusResult
impl Clone for StatusResult
Source§fn clone(&self) -> StatusResult
fn clone(&self) -> StatusResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more