pub struct ClientStep3Params<'p> {
pub client_a: &'p [u8],
pub username: String,
pub password: String,
pub salt: &'p [u8],
pub server_public_b: &'p [u8],
}
Expand description
Params of step 3
Contains the parameters used for step 3 of the protocol.
Fields§
§client_a: &'p [u8]
Client’s secret ephemeral key
username: String
The username (identity) of the user
password: String
The password of the user
salt: &'p [u8]
The salt received from the server in step 2
server_public_b: &'p [u8]
The server’s public ephemeral key received from the server in step 2
Trait Implementations§
Source§impl<'p> Clone for ClientStep3Params<'p>
impl<'p> Clone for ClientStep3Params<'p>
Source§fn clone(&self) -> ClientStep3Params<'p>
fn clone(&self) -> ClientStep3Params<'p>
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<'p> Debug for ClientStep3Params<'p>
impl<'p> Debug for ClientStep3Params<'p>
Auto Trait Implementations§
impl<'p> Freeze for ClientStep3Params<'p>
impl<'p> RefUnwindSafe for ClientStep3Params<'p>
impl<'p> Send for ClientStep3Params<'p>
impl<'p> Sync for ClientStep3Params<'p>
impl<'p> Unpin for ClientStep3Params<'p>
impl<'p> UnwindSafe for ClientStep3Params<'p>
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