pub struct WanRevocation {
pub old_instance_id: String,
pub old_instance_pubkey: String,
pub new_instance_id: String,
pub revoked_at: i64,
pub sig: String,
}Expand description
An instance revocation (§2.2), signed by the old instance key so only the owner of that key can retire it. Sticky: nothing un-revokes an id.
Fields§
§old_instance_id: String§old_instance_pubkey: String§new_instance_id: String§revoked_at: i64§sig: StringImplementations§
Trait Implementations§
Source§impl Clone for WanRevocation
impl Clone for WanRevocation
Source§fn clone(&self) -> WanRevocation
fn clone(&self) -> WanRevocation
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 WanRevocation
impl Debug for WanRevocation
Source§impl<'de> Deserialize<'de> for WanRevocation
impl<'de> Deserialize<'de> for WanRevocation
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 WanRevocation
Source§impl PartialEq for WanRevocation
impl PartialEq for WanRevocation
Source§impl Serialize for WanRevocation
impl Serialize for WanRevocation
impl StructuralPartialEq for WanRevocation
Auto Trait Implementations§
impl Freeze for WanRevocation
impl RefUnwindSafe for WanRevocation
impl Send for WanRevocation
impl Sync for WanRevocation
impl Unpin for WanRevocation
impl UnsafeUnpin for WanRevocation
impl UnwindSafe for WanRevocation
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