return NewUser {username, email, password: hashed_password, unique_id: uuid} } } Here, we used the hash function from the bcrypt crate to hash our password.
確定! 回上一頁