pub struct NewAccount {
pub name: String,
pub surname: String,
pub email: String,
pub hash: Vec<u8>,
pub salt: String,
pub is_admin: bool,
pub is_bot: bool,
}Fields§
§name: String§surname: String§email: String§hash: Vec<u8>§salt: String§is_admin: bool§is_bot: boolAuto Trait Implementations§
impl Freeze for NewAccount
impl RefUnwindSafe for NewAccount
impl Send for NewAccount
impl Sync for NewAccount
impl Unpin for NewAccount
impl UnwindSafe for NewAccount
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