pub struct ScramCredentials {
pub salt: Vec<u8>,
pub iterations: u32,
pub stored_key: Vec<u8>,
pub server_key: Vec<u8>,
}Expand description
Pre-computed SCRAM credentials for a user (stored server-side).
Fields§
§salt: Vec<u8>§iterations: u32§stored_key: Vec<u8>§server_key: Vec<u8>Trait Implementations§
Source§impl Clone for ScramCredentials
impl Clone for ScramCredentials
Source§fn clone(&self) -> ScramCredentials
fn clone(&self) -> ScramCredentials
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 moreAuto Trait Implementations§
impl Freeze for ScramCredentials
impl RefUnwindSafe for ScramCredentials
impl Send for ScramCredentials
impl Sync for ScramCredentials
impl Unpin for ScramCredentials
impl UnsafeUnpin for ScramCredentials
impl UnwindSafe for ScramCredentials
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