pub struct BioEnrollmentRequest { /* private fields */ }Available on (crate features
ctap2) and (crate features ctap2-management) only.Expand description
CTAP 2.1 authenticatorBioEnrollment command (0x09).
Related:
- BioSubCommand for dynamically-constructed commands
- GET_MODALITY
- GET_FINGERPRINT_SENSOR_INFO
- FINGERPRINT_CANCEL_CURRENT_ENROLLMENT
Reference: CTAP protocol reference
Trait Implementations§
Source§impl BioEnrollmentRequestTrait for BioEnrollmentRequest
impl BioEnrollmentRequestTrait for BioEnrollmentRequest
Source§const GET_MODALITY: Self
const GET_MODALITY: Self
Command to get the supported biometric modality for the authenticator. Read more
Source§const GET_FINGERPRINT_SENSOR_INFO: Self
const GET_FINGERPRINT_SENSOR_INFO: Self
Command to get information about the authenticator’s fingerprint sensor. Read more
Source§const FINGERPRINT_CANCEL_CURRENT_ENROLLMENT: Self
const FINGERPRINT_CANCEL_CURRENT_ENROLLMENT: Self
Command to cancel an in-progress fingerprint enrollment. Read more
Source§fn new(
s: BioSubCommand,
pin_uv_protocol: Option<u32>,
pin_uv_auth_param: Option<Vec<u8>>,
) -> Self
fn new( s: BioSubCommand, pin_uv_protocol: Option<u32>, pin_uv_auth_param: Option<Vec<u8>>, ) -> Self
Creates a new BioEnrollmentRequest from the given BioSubCommand.
Source§impl CBORCommand for BioEnrollmentRequest
impl CBORCommand for BioEnrollmentRequest
Source§type Response = BioEnrollmentResponse
type Response = BioEnrollmentResponse
The response type associated with this command.
Source§const HAS_PAYLOAD: bool = true
const HAS_PAYLOAD: bool = true
If true (default), then the command has a payload, which will be
serialized into CBOR format. Read more
Source§impl Clone for BioEnrollmentRequest
impl Clone for BioEnrollmentRequest
Source§fn clone(&self) -> BioEnrollmentRequest
fn clone(&self) -> BioEnrollmentRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BioEnrollmentRequest
impl Debug for BioEnrollmentRequest
Source§impl Default for BioEnrollmentRequest
impl Default for BioEnrollmentRequest
Source§fn default() -> BioEnrollmentRequest
fn default() -> BioEnrollmentRequest
Returns the “default value” for a type. Read more
Source§impl From<BioEnrollmentRequest> for BTreeMap<u32, Value>
impl From<BioEnrollmentRequest> for BTreeMap<u32, Value>
Source§fn from(value: BioEnrollmentRequest) -> Self
fn from(value: BioEnrollmentRequest) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BioEnrollmentRequest
impl PartialEq for BioEnrollmentRequest
Source§impl Serialize for BioEnrollmentRequest
impl Serialize for BioEnrollmentRequest
impl Eq for BioEnrollmentRequest
impl StructuralPartialEq for BioEnrollmentRequest
Auto Trait Implementations§
impl Freeze for BioEnrollmentRequest
impl RefUnwindSafe for BioEnrollmentRequest
impl Send for BioEnrollmentRequest
impl Sync for BioEnrollmentRequest
impl Unpin for BioEnrollmentRequest
impl UnwindSafe for BioEnrollmentRequest
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§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