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.
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
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RevokedEndpoint
impl Debug for RevokedEndpoint
Source§impl Default for RevokedEndpoint
impl Default for RevokedEndpoint
Source§fn default() -> RevokedEndpoint
fn default() -> RevokedEndpoint
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RevokedEndpoint
impl<'de> Deserialize<'de> for RevokedEndpoint
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RevokedEndpoint
Source§impl PartialEq for RevokedEndpoint
impl PartialEq for RevokedEndpoint
Source§impl Serialize for RevokedEndpoint
impl Serialize for RevokedEndpoint
impl StructuralPartialEq for RevokedEndpoint
Auto Trait Implementations§
impl Freeze for RevokedEndpoint
impl RefUnwindSafe for RevokedEndpoint
impl Send for RevokedEndpoint
impl Sync for RevokedEndpoint
impl Unpin for RevokedEndpoint
impl UnsafeUnpin for RevokedEndpoint
impl UnwindSafe for RevokedEndpoint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more