pub struct SetPin {
pub id: PinId,
pub pin: Pin,
pub retries: Option<u8>,
pub derive_key: bool,
}Fields§
§id: PinId§pin: Pin§retries: Option<u8>§derive_key: boolIf true, the PIN can be used to wrap/unwrap a PIN key
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SetPin
impl<'de> Deserialize<'de> for SetPin
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
Source§impl From<SetPin> for AuthRequest
impl From<SetPin> for AuthRequest
Auto Trait Implementations§
impl Freeze for SetPin
impl RefUnwindSafe for SetPin
impl Send for SetPin
impl Sync for SetPin
impl Unpin for SetPin
impl UnwindSafe for SetPin
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