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
sourceimpl Clone for CredProtectResponse
impl Clone for CredProtectResponse
sourcefn clone(&self) -> CredProtectResponse
fn clone(&self) -> CredProtectResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for CredProtectResponse
impl Debug for CredProtectResponse
sourceimpl<'de> Deserialize<'de> for CredProtectResponse
impl<'de> Deserialize<'de> for CredProtectResponse
sourcefn 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
sourceimpl From<CredProtectResponse> for u8
impl From<CredProtectResponse> for u8
sourcefn from(policy: CredProtectResponse) -> Self
fn from(policy: CredProtectResponse) -> Self
Converts to this type from the input type.
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more