pub struct PairTokenRedeemed {
pub principal: PrincipalId,
pub public_key_fingerprint: String,
}Expand description
Response payload for AdminRequestKind::PairDeviceRedeem.
Fields§
§principal: PrincipalIdThe principal the new device is now bound to.
public_key_fingerprint: StringSHA-256 fingerprint (hex) of the registered ed25519 key. Lets the redeemer verify the kernel registered the key it sent rather than substituting one of its own.
Trait Implementations§
Source§impl Clone for PairTokenRedeemed
impl Clone for PairTokenRedeemed
Source§fn clone(&self) -> PairTokenRedeemed
fn clone(&self) -> PairTokenRedeemed
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 PairTokenRedeemed
impl Debug for PairTokenRedeemed
Source§impl<'de> Deserialize<'de> for PairTokenRedeemed
impl<'de> Deserialize<'de> for PairTokenRedeemed
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 PairTokenRedeemed
Source§impl PartialEq for PairTokenRedeemed
impl PartialEq for PairTokenRedeemed
Source§fn eq(&self, other: &PairTokenRedeemed) -> bool
fn eq(&self, other: &PairTokenRedeemed) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PairTokenRedeemed
impl Serialize for PairTokenRedeemed
impl StructuralPartialEq for PairTokenRedeemed
Auto Trait Implementations§
impl Freeze for PairTokenRedeemed
impl RefUnwindSafe for PairTokenRedeemed
impl Send for PairTokenRedeemed
impl Sync for PairTokenRedeemed
impl Unpin for PairTokenRedeemed
impl UnsafeUnpin for PairTokenRedeemed
impl UnwindSafe for PairTokenRedeemed
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.