pub enum Ctap2Version {
Ctap20,
Ctap21,
Ctap22,
Unrecognized(String),
}Variants§
Ctap20
ctap2_0
Ctap21
ctap2_1
Ctap22
ctap2_2
Unrecognized(String)
A value this vendored schema does not list. Chrome adds values ahead of the published protocol, so an unrecognised one is kept as it arrived rather than failing the payload it came in.
Trait Implementations§
Source§impl Clone for Ctap2Version
impl Clone for Ctap2Version
Source§impl Debug for Ctap2Version
impl Debug for Ctap2Version
Source§impl<'de> Deserialize<'de> for Ctap2Version
impl<'de> Deserialize<'de> for Ctap2Version
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
impl Eq for Ctap2Version
Source§impl Hash for Ctap2Version
impl Hash for Ctap2Version
Source§impl PartialEq for Ctap2Version
impl PartialEq for Ctap2Version
Source§impl Serialize for Ctap2Version
impl Serialize for Ctap2Version
impl StructuralPartialEq for Ctap2Version
Auto Trait Implementations§
impl Forget for Ctap2Version
impl Freeze for Ctap2Version
impl RefUnwindSafe for Ctap2Version
impl Send for Ctap2Version
impl Sync for Ctap2Version
impl Unpin for Ctap2Version
impl UnsafeUnpin for Ctap2Version
impl UnwindSafe for Ctap2Version
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