pub enum PairProof {
Open(String),
Code(String),
}Expand description
Which code a pairing presents: exactly one of the two.
Variants§
Open(String)
The open code /web handed over through the user-only redirect file.
Code(String)
The pairing code the terminal shows.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PairProof
impl<'de> Deserialize<'de> for PairProof
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 PairProof
impl RefUnwindSafe for PairProof
impl Send for PairProof
impl Sync for PairProof
impl Unpin for PairProof
impl UnsafeUnpin for PairProof
impl UnwindSafe for PairProof
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