Struct ofdb_entities::user::User
source · [−]pub struct User {
pub email: String,
pub email_confirmed: bool,
pub password: Password,
pub role: Role,
}
Fields
email: String
email_confirmed: bool
password: Password
role: Role
Trait Implementations
sourceimpl PartialEq<User> for User
impl PartialEq<User> for User
impl Eq for User
impl StructuralEq for User
impl StructuralPartialEq for User
Auto Trait Implementations
impl RefUnwindSafe for User
impl Send for User
impl Sync for User
impl Unpin for User
impl UnwindSafe for User
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more