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 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<'de> Deserialize<'de> for PublicKeyCredentialDescriptor
impl<'de> Deserialize<'de> for PublicKeyCredentialDescriptor
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PublicKeyCredentialDescriptor, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PublicKeyCredentialDescriptor, <__D as Deserializer<'de>>::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 ==.Source§impl Serialize for PublicKeyCredentialDescriptor
impl Serialize for PublicKeyCredentialDescriptor
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for PublicKeyCredentialDescriptor
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<'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