Struct hap::Pin [−][src]
pub struct Pin { /* fields omitted */ }Expand description
The Pin struct represents the server’s 8 digit pin used for pairing.
The pin consists of eight digits between 0 and 9 and defaults to 11122333.
The following pins are considered too easy and are therefore not allowed:
000000001111111122222222333333334444444455555555666666667777777788888888999999991234567887654321
Implementations
Trait Implementations
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 RefUnwindSafe for Pinimpl UnwindSafe for PinBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
type Output = T
type Output = TShould always be Self
pub fn vzip(self) -> V