pub struct PublicKeyCredentialDescriptor {
pub type: Option<PublicKeyCredentialType>,
pub id: Option<Vec<u8>>,
pub transports: Option<Vec<AuthenticatorTransport>>,
}
Fields§
§type: Option<PublicKeyCredentialType>
§id: Option<Vec<u8>>
§transports: Option<Vec<AuthenticatorTransport>>
Implementations§
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 Default for PublicKeyCredentialDescriptor
impl Default for PublicKeyCredentialDescriptor
Source§fn default() -> PublicKeyCredentialDescriptor
fn default() -> PublicKeyCredentialDescriptor
Returns the “default value” for a type. Read more
Source§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
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PublicKeyCredentialDescriptor
Auto Trait Implementations§
impl Freeze for PublicKeyCredentialDescriptor
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