pub struct AuthenticationExtensionsPrfValues {
pub first: Bytes,
pub second: Option<Bytes>,
}Expand description
Pseudo-random function values.
This is used for both PRF inputs and outputs.
When used as inputs to the PRF evaluation, these values will be included
in the calculation of the salts that are sent as parameters in the
hmac-secret extension process to the authenticator.
When used as outputs, the fields will contain the results of evaluating the PRF.
Fields§
§first: BytesThe first PRF value.
second: Option<Bytes>The second PRF value.
Trait Implementations§
Source§impl Clone for AuthenticationExtensionsPrfValues
impl Clone for AuthenticationExtensionsPrfValues
Source§fn clone(&self) -> AuthenticationExtensionsPrfValues
fn clone(&self) -> AuthenticationExtensionsPrfValues
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<'de> Deserialize<'de> for AuthenticationExtensionsPrfValues
impl<'de> Deserialize<'de> for AuthenticationExtensionsPrfValues
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<AuthenticatorPrfValues> for AuthenticationExtensionsPrfValues
impl From<AuthenticatorPrfValues> for AuthenticationExtensionsPrfValues
Source§fn from(value: AuthenticatorPrfValues) -> Self
fn from(value: AuthenticatorPrfValues) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AuthenticationExtensionsPrfValues
impl RefUnwindSafe for AuthenticationExtensionsPrfValues
impl Send for AuthenticationExtensionsPrfValues
impl Sync for AuthenticationExtensionsPrfValues
impl Unpin for AuthenticationExtensionsPrfValues
impl UnwindSafe for AuthenticationExtensionsPrfValues
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