pub struct UserImportHash {
pub hash_algorithm: String,
pub key: String,
pub salt_separator: String,
pub rounds: i32,
pub memory_cost: i32,
}Expand description
Password hashing configuration for user import.
Fields§
§hash_algorithm: StringThe hashing algorithm (e.g., “SCRYPT”).
key: StringThe signing key (base64 encoded).
salt_separator: StringThe salt separator (base64 encoded).
rounds: i32The number of rounds.
memory_cost: i32The memory cost.
Trait Implementations§
Source§impl Debug for UserImportHash
impl Debug for UserImportHash
Auto Trait Implementations§
impl Freeze for UserImportHash
impl RefUnwindSafe for UserImportHash
impl Send for UserImportHash
impl Sync for UserImportHash
impl Unpin for UserImportHash
impl UnwindSafe for UserImportHash
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