pub struct GenerateVerifierParams {
pub username: String,
pub password: String,
pub salt: Option<Vec<u8>>,
}
Expand description
Parameters for verifier generation
Fields§
§username: String
The username (identity) of the user
password: String
The secret password
The password will never be sent to the server.
salt: Option<Vec<u8>>
The salt
This should be a random value. It may be None
, resulting in generation
of a random salt value by the generate_verifier
method.
Trait Implementations§
Source§impl Clone for GenerateVerifierParams
impl Clone for GenerateVerifierParams
Source§fn clone(&self) -> GenerateVerifierParams
fn clone(&self) -> GenerateVerifierParams
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 GenerateVerifierParams
impl Debug for GenerateVerifierParams
Source§impl<'de> Deserialize<'de> for GenerateVerifierParams
impl<'de> Deserialize<'de> for GenerateVerifierParams
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
Auto Trait Implementations§
impl Freeze for GenerateVerifierParams
impl RefUnwindSafe for GenerateVerifierParams
impl Send for GenerateVerifierParams
impl Sync for GenerateVerifierParams
impl Unpin for GenerateVerifierParams
impl UnwindSafe for GenerateVerifierParams
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