pub struct PublicKeyCredentialDescriptor {
pub type_: String,
pub id: Base64UrlSafeData,
pub transports: Option<Vec<AuthenticatorTransport>>,
}Expand description
Fields§
§type_: StringThe type of credential
id: Base64UrlSafeDataThe credential id.
transports: Option<Vec<AuthenticatorTransport>>The allowed transports for this credential. Note this is a hint, and is NOT enforced.
Trait Implementations§
source§impl Clone for PublicKeyCredentialDescriptor
impl Clone for PublicKeyCredentialDescriptor
source§fn clone(&self) -> PublicKeyCredentialDescriptor
fn clone(&self) -> PublicKeyCredentialDescriptor
Returns a copy 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<'de> Deserialize<'de> for PublicKeyCredentialDescriptor
impl<'de> Deserialize<'de> for PublicKeyCredentialDescriptor
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 PartialEq for PublicKeyCredentialDescriptor
impl PartialEq for PublicKeyCredentialDescriptor
source§fn eq(&self, other: &PublicKeyCredentialDescriptor) -> bool
fn eq(&self, other: &PublicKeyCredentialDescriptor) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for PublicKeyCredentialDescriptor
impl StructuralEq for PublicKeyCredentialDescriptor
impl StructuralPartialEq for PublicKeyCredentialDescriptor
Auto Trait Implementations§
impl RefUnwindSafe for PublicKeyCredentialDescriptor
impl Send for PublicKeyCredentialDescriptor
impl Sync for PublicKeyCredentialDescriptor
impl Unpin for PublicKeyCredentialDescriptor
impl UnwindSafe for PublicKeyCredentialDescriptor
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