pub struct CredProtect {
pub credential_protection_policy: CredentialProtectionPolicy,
pub enforce_credential_protection_policy: Option<bool>,
}Expand description
The desired options for the client’s use of the credProtect extension
Fields§
§credential_protection_policy: CredentialProtectionPolicyThe credential policy to enact
enforce_credential_protection_policy: Option<bool>Whether it is better for the authenticator to fail to create a
credential rather than ignore the protection policy
If no value is provided, the client treats it as false.
Trait Implementations§
Source§impl Clone for CredProtect
impl Clone for CredProtect
Source§fn clone(&self) -> CredProtect
fn clone(&self) -> CredProtect
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 Debug for CredProtect
impl Debug for CredProtect
Source§impl<'de> Deserialize<'de> for CredProtect
impl<'de> Deserialize<'de> for CredProtect
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CredProtect, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CredProtect, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CredProtect
impl PartialEq for CredProtect
Source§impl Serialize for CredProtect
impl Serialize for CredProtect
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 CredProtect
impl StructuralPartialEq for CredProtect
Auto Trait Implementations§
impl Freeze for CredProtect
impl RefUnwindSafe for CredProtect
impl Send for CredProtect
impl Sync for CredProtect
impl Unpin for CredProtect
impl UnwindSafe for CredProtect
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