ctap2-proto: Derive common traits for extensions::cred_protect::Policy

Derive Clone, Copy, and serde traits for usage in CTAP messages
main
Nick Zana 2 years ago
parent 67a2986167
commit 5ea0cfeb9e

@ -1,3 +1,6 @@
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Copy, Serialize, Deserialize)]
pub enum Policy {
UserVerificationOptional = 0x01,
UserVerificationOptionalWithCredentialIdList = 0x02,

Loading…
Cancel
Save