pub struct DeviceRevocationImportResult {
pub endpoint: String,
pub user_id: String,
pub applied: bool,
pub severed: usize,
}Expand description
Result of Request::DeviceRevocationImport.
Fields§
§endpoint: StringThe eid: now revoked.
user_id: StringThe b64u: that signed it — verified, not claimed.
applied: boolfalse when an equal-or-newer revocation for this endpoint was already held: the import is
idempotent, and a replayed OLDER token must not overwrite a newer one.
severed: usizeLive connections severed. See PeerRevokeResult::severed.
Trait Implementations§
Source§impl Clone for DeviceRevocationImportResult
impl Clone for DeviceRevocationImportResult
Source§fn clone(&self) -> DeviceRevocationImportResult
fn clone(&self) -> DeviceRevocationImportResult
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 DeviceRevocationImportResult
impl Debug for DeviceRevocationImportResult
Source§impl Default for DeviceRevocationImportResult
impl Default for DeviceRevocationImportResult
Source§fn default() -> DeviceRevocationImportResult
fn default() -> DeviceRevocationImportResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceRevocationImportResult
impl<'de> Deserialize<'de> for DeviceRevocationImportResult
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 DeviceRevocationImportResult
impl StructuralPartialEq for DeviceRevocationImportResult
Auto Trait Implementations§
impl Freeze for DeviceRevocationImportResult
impl RefUnwindSafe for DeviceRevocationImportResult
impl Send for DeviceRevocationImportResult
impl Sync for DeviceRevocationImportResult
impl Unpin for DeviceRevocationImportResult
impl UnsafeUnpin for DeviceRevocationImportResult
impl UnwindSafe for DeviceRevocationImportResult
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