Struct
ChangePin
pub struct ChangePin {
pub pin: RawPin,
pub seed: Option<Seed>,
pub pin_entry: PinEntryMode,
}Fields
pin: RawPinseed: Option<Seed>pin_entry: PinEntryModeTrait Implementations
impl Archive for ChangePin
impl Archive for ChangePin
const COPY_OPTIMIZATION: CopyOptimization<Self>
const COPY_OPTIMIZATION: CopyOptimization<Self>
An optimization flag that allows the bytes of this type to be copied
directly to a writer instead of calling
serialize. Read moretype Archived = ArchivedChangePin
type Archived = ArchivedChangePin
The archived representation of this type. Read more
type Resolver = ChangePinResolver
type Resolver = ChangePinResolver
The resolver for this type. It must contain all the additional
information from serializing needed to make the archived type from
the normal type.
impl BlockingArchive for ChangePin
impl BlockingArchive for ChangePin
type Response = Result<(), PinError>
type Response = Result<(), PinError>
response type for this message
impl Clone for ChangePin
impl Clone for ChangePin
1.0.0fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<__D: Fallible + ?Sized> Deserialize<ChangePin, __D> for Archived<ChangePin>where
RawPin: Archive,
<RawPin as Archive>::Archived: Deserialize<RawPin, __D>,
Option<Seed>: Archive,
<Option<Seed> as Archive>::Archived: Deserialize<Option<Seed>, __D>,
PinEntryMode: Archive,
<PinEntryMode as Archive>::Archived: Deserialize<PinEntryMode, __D>,
impl<__D: Fallible + ?Sized> Deserialize<ChangePin, __D> for Archived<ChangePin>where
RawPin: Archive,
<RawPin as Archive>::Archived: Deserialize<RawPin, __D>,
Option<Seed>: Archive,
<Option<Seed> as Archive>::Archived: Deserialize<Option<Seed>, __D>,
PinEntryMode: Archive,
<PinEntryMode as Archive>::Archived: Deserialize<PinEntryMode, __D>,
fn deserialize(
&self,
deserializer: &mut __D,
) -> Result<ChangePin, <__D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut __D, ) -> Result<ChangePin, <__D as Fallible>::Error>
Deserializes using the given deserializer
impl MessageId for ChangePin
impl MessageId for ChangePin
const ID: MessageId = 2usize
const ID: MessageId = 2usize
unique message identifier
const SERVER: &'static str = "os/security"
const SERVER: &'static str = "os/security"
target server name