pub struct MakeCredentialRequest {
pub client_data_hash: Vec<u8>,
pub rp: RelyingParty,
pub user: User,
pub pub_key_cred_params: Vec<PubKeyCredParams>,
pub options: Option<BTreeMap<String, bool>>,
pub pin_uv_auth_param: Option<Vec<u8>>,
pub pin_uv_auth_proto: Option<u32>,
pub enterprise_attest: Option<u32>,
}Fields
client_data_hash: Vec<u8>rp: RelyingPartyuser: Userpub_key_cred_params: Vec<PubKeyCredParams>options: Option<BTreeMap<String, bool>>pin_uv_auth_param: Option<Vec<u8>>pin_uv_auth_proto: Option<u32>enterprise_attest: Option<u32>Trait Implementations
sourceimpl CBORCommand for MakeCredentialRequest
impl CBORCommand for MakeCredentialRequest
type Response = NoResponse
sourceconst 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
sourcefn to_short_apdus(&self) -> Result<Vec<ISO7816RequestAPDU>, Error>
fn to_short_apdus(&self) -> Result<Vec<ISO7816RequestAPDU>, Error>
Converts a CTAP v2 command into a form suitable for transmission with
short ISO/IEC 7816-4 APDUs (over NFC). Read more
sourcefn to_extended_apdu(&self) -> Result<ISO7816RequestAPDU, Error>
fn to_extended_apdu(&self) -> Result<ISO7816RequestAPDU, Error>
Converts a CTAP v2 command into a form suitable for transmission with
extended ISO/IEC 7816-4 APDUs (over NFC). Read more
sourceimpl Clone for MakeCredentialRequest
impl Clone for MakeCredentialRequest
sourcefn clone(&self) -> MakeCredentialRequest
fn clone(&self) -> MakeCredentialRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for MakeCredentialRequest
impl Debug for MakeCredentialRequest
sourceimpl Serialize for MakeCredentialRequest
impl Serialize for MakeCredentialRequest
Auto Trait Implementations
impl RefUnwindSafe for MakeCredentialRequest
impl Send for MakeCredentialRequest
impl Sync for MakeCredentialRequest
impl Unpin for MakeCredentialRequest
impl UnwindSafe for MakeCredentialRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more