Struct webauthn_rs::proto::AllowCredentials [−][src]
pub struct AllowCredentials {
pub type_: String,
pub id: Base64UrlSafeData,
pub transports: Option<Vec<String>>,
}
Expand description
A descriptor of a credential that can be used.
Fields
type_: String
The type of credential.
id: Base64UrlSafeData
The id of the credential.
transports: Option<Vec<String>>
https://www.w3.org/TR/webauthn/#transport may be usb, nfc, ble, internal
Trait Implementations
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
Mutably borrows from an owned value. Read more