pub struct RevokedEndpoint {
pub principal: String,
pub revoked_at_epoch: u64,
pub source: String,
pub signer_user_id: Option<String>,
pub reason: Option<String>,
pub nickname: Option<String>,
}Expand description
One entry of status.revoked (#85 ask 4).
Fields§
§principal: StringThe eid: device principal that is refused.
revoked_at_epoch: u64When THIS node applied it, epoch seconds.
source: String"local" — this operator’s own decision about someone else’s device — or "signed", a
statement the device’s OWNER issued about their own. Two different claims, and an operator
reading this list needs to tell them apart: only the second is evidence that the person
themselves declared the device dead. From api_minor >= 64 (#223) also "roster" — the
installed roster’s revoked_endpoints, with revoked_at_epoch 0 — and "roster_identity",
a roster device whose roster user_id is a revoked b64u: identity (named in reason).
Treat an unknown value as a revocation.
signer_user_id: Option<String>For "signed": the verified b64u: that signed it.
reason: Option<String>Free-text operator note, never interpreted.
nickname: Option<String>The local nickname this endpoint still has a pair row under, if any. Revocation does not delete the row, so this is usually present — and it is what makes the list readable.
Trait Implementations§
Source§impl Clone for RevokedEndpoint
impl Clone for RevokedEndpoint
Source§fn clone(&self) -> RevokedEndpoint
fn clone(&self) -> RevokedEndpoint
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more