Struct webauthn_rs_core::interface::CredProtectResponse
source · pub struct CredProtectResponse(pub CredentialProtectionPolicy);Expand description
The client’s response to the request that it use the credProtect extension
Implemented as wrapper struct to (de)serialize CredentialProtectionPolicy as a number
Tuple Fields§
§0: CredentialProtectionPolicyTrait Implementations§
source§impl Clone for CredProtectResponse
impl Clone for CredProtectResponse
source§fn clone(&self) -> CredProtectResponse
fn clone(&self) -> CredProtectResponse
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 CredProtectResponse
impl Debug for CredProtectResponse
source§impl<'de> Deserialize<'de> for CredProtectResponse
impl<'de> Deserialize<'de> for CredProtectResponse
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
source§impl From<CredProtectResponse> for u8
impl From<CredProtectResponse> for u8
source§fn from(policy: CredProtectResponse) -> Self
fn from(policy: CredProtectResponse) -> Self
Converts to this type from the input type.
source§impl Serialize for CredProtectResponse
impl Serialize for CredProtectResponse
Auto Trait Implementations§
impl RefUnwindSafe for CredProtectResponse
impl Send for CredProtectResponse
impl Sync for CredProtectResponse
impl Unpin for CredProtectResponse
impl UnwindSafe for CredProtectResponse
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> 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