pub struct PairBody {
pub proof: PairProof,
pub public_key: String,
pub label: String,
}Expand description
POST /pair: one of the two codes, the browser’s public device key,
and the name the page gives itself.
Fields§
§proof: PairProof§public_key: String§label: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for PairBody
impl<'de> Deserialize<'de> for PairBody
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
Auto Trait Implementations§
impl Freeze for PairBody
impl RefUnwindSafe for PairBody
impl Send for PairBody
impl Sync for PairBody
impl Unpin for PairBody
impl UnsafeUnpin for PairBody
impl UnwindSafe for PairBody
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