pub struct AccountData {
pub name: String,
pub surname: String,
pub email: String,
pub password: String,
pub is_admin: bool,
pub is_bot: bool,
}
Fields§
§name: String
§surname: String
§email: String
§password: String
§is_admin: bool
§is_bot: bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AccountData
impl RefUnwindSafe for AccountData
impl Send for AccountData
impl Sync for AccountData
impl Unpin for AccountData
impl UnwindSafe for AccountData
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