pub struct PinState {
pub digits: Option<u8>,
}Expand description
A user’s PIN as clients may know it.
Fields§
§digits: Option<u8>How many digits it has (4 to 8); None for a PIN set before the
server kept its length, until it is set again.
Trait Implementations§
impl Copy for PinState
Source§impl<'de> Deserialize<'de> for PinState
impl<'de> Deserialize<'de> for PinState
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 PinState
impl StructuralPartialEq for PinState
Auto Trait Implementations§
impl Freeze for PinState
impl RefUnwindSafe for PinState
impl Send for PinState
impl Sync for PinState
impl Unpin for PinState
impl UnsafeUnpin for PinState
impl UnwindSafe for PinState
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