Struct PairingCode
pub struct PairingCode {
pub slot: Option<u8>,
pub pin: Pin,
}Expand description
What a person types at the responder when the joiner shows its PIN: the slot the responder
assigned to that joiner, and the PIN. Plain data: joining and splitting the text a person
reads (37-482913, say) is the caller’s.
Fields§
§slot: Option<u8>The responder’s handle for the waiting joiner, 0 to 99; not secret. None when the
responder shows the PIN.
pin: PinThe PIN.
Trait Implementations§
§impl Clone for PairingCode
impl Clone for PairingCode
§fn clone(&self) -> PairingCode
fn clone(&self) -> PairingCode
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 more§impl Debug for PairingCode
impl Debug for PairingCode
impl Eq for PairingCode
§impl PartialEq for PairingCode
impl PartialEq for PairingCode
impl StructuralPartialEq for PairingCode
Auto Trait Implementations§
impl Freeze for PairingCode
impl RefUnwindSafe for PairingCode
impl Send for PairingCode
impl Sync for PairingCode
impl Unpin for PairingCode
impl UnsafeUnpin for PairingCode
impl UnwindSafe for PairingCode
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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