Struct webauthn_rs_proto::options::AllowCredentials
source · pub struct AllowCredentials {
pub type_: String,
pub id: Base64UrlSafeData,
pub transports: Option<Vec<AuthenticatorTransport>>,
}Expand description
A descriptor of a credential that can be used.
Fields§
§type_: StringThe type of credential.
id: Base64UrlSafeDataThe id of the credential.
transports: Option<Vec<AuthenticatorTransport>>https://www.w3.org/TR/webauthn/#transport may be usb, nfc, ble, internal
Trait Implementations§
source§impl Clone for AllowCredentials
impl Clone for AllowCredentials
source§fn clone(&self) -> AllowCredentials
fn clone(&self) -> AllowCredentials
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 Debug for AllowCredentials
impl Debug for AllowCredentials
source§impl<'de> Deserialize<'de> for AllowCredentials
impl<'de> Deserialize<'de> for AllowCredentials
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
Auto Trait Implementations§
impl RefUnwindSafe for AllowCredentials
impl Send for AllowCredentials
impl Sync for AllowCredentials
impl Unpin for AllowCredentials
impl UnwindSafe for AllowCredentials
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