pub struct MakeCredentialResponse {
pub fmt: Option<String>,
pub auth_data: Option<Value>,
pub att_stmt: Option<Value>,
pub epp_att: Option<bool>,
pub large_blob_key: Option<Value>,
}
Available on crate feature
ctap2
only.Expand description
authenticatorMakeCredential
response type.
§Implementation notes
This needs to be (de)serialisable to/from both Map<u32, Value>
and
Map<String, Value>
:
-
The authenticator itself uses a map with
u32
keys. This is needed to get the value from from the authenticator, and to re-serialise values for caBLE (viaAuthenticatorBackendWithRequests
) -
AuthenticatorAttestationResponseRaw
uses a map withString
keys, which need the same names asAttestationObjectInner
.
Fields§
§fmt: Option<String>
The attestation statement format identifier.
auth_data: Option<Value>
The authenticator data object.
att_stmt: Option<Value>
The attestation statement.
epp_att: Option<bool>
Indicates whether an enterprise attestation was returned for this credential.
large_blob_key: Option<Value>
Contains the largeBlobKey
for the credential, if requested with the
largeBlobKey
extension.
Not yet supported.
Trait Implementations§
Source§impl Clone for MakeCredentialResponse
impl Clone for MakeCredentialResponse
Source§fn clone(&self) -> MakeCredentialResponse
fn clone(&self) -> MakeCredentialResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MakeCredentialResponse
impl Debug for MakeCredentialResponse
Source§impl Default for MakeCredentialResponse
impl Default for MakeCredentialResponse
Source§fn default() -> MakeCredentialResponse
fn default() -> MakeCredentialResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MakeCredentialResponse
impl<'de> Deserialize<'de> for MakeCredentialResponse
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<MakeCredentialResponse> for BTreeMap<u32, Value>
impl From<MakeCredentialResponse> for BTreeMap<u32, Value>
Source§fn from(value: MakeCredentialResponse) -> Self
fn from(value: MakeCredentialResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MakeCredentialResponse
impl PartialEq for MakeCredentialResponse
Source§fn eq(&self, other: &MakeCredentialResponse) -> bool
fn eq(&self, other: &MakeCredentialResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl Serialize for MakeCredentialResponse
impl Serialize for MakeCredentialResponse
impl Eq for MakeCredentialResponse
impl StructuralPartialEq for MakeCredentialResponse
Auto Trait Implementations§
impl Freeze for MakeCredentialResponse
impl RefUnwindSafe for MakeCredentialResponse
impl Send for MakeCredentialResponse
impl Sync for MakeCredentialResponse
impl Unpin for MakeCredentialResponse
impl UnwindSafe for MakeCredentialResponse
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