Struct ctap_types::ctap2::get_assertion::HmacSecretInput
source · #[non_exhaustive]pub struct HmacSecretInput {
pub key_agreement: EcdhEsHkdf256PublicKey,
pub salt_enc: Bytes<80>,
pub salt_auth: Bytes<32>,
pub pin_protocol: Option<u32>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.key_agreement: EcdhEsHkdf256PublicKey§salt_enc: Bytes<80>§salt_auth: Bytes<32>§pin_protocol: Option<u32>Trait Implementations§
source§impl Clone for HmacSecretInput
impl Clone for HmacSecretInput
source§fn clone(&self) -> HmacSecretInput
fn clone(&self) -> HmacSecretInput
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 HmacSecretInput
impl Debug for HmacSecretInput
source§impl<'de> Deserialize<'de> for HmacSecretInput
impl<'de> Deserialize<'de> for HmacSecretInput
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 PartialEq for HmacSecretInput
impl PartialEq for HmacSecretInput
source§fn eq(&self, other: &HmacSecretInput) -> bool
fn eq(&self, other: &HmacSecretInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for HmacSecretInput
impl Serialize for HmacSecretInput
impl Eq for HmacSecretInput
impl StructuralPartialEq for HmacSecretInput
Auto Trait Implementations§
impl Freeze for HmacSecretInput
impl RefUnwindSafe for HmacSecretInput
impl Send for HmacSecretInput
impl Sync for HmacSecretInput
impl Unpin for HmacSecretInput
impl UnwindSafe for HmacSecretInput
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