pub struct AuthUser {
pub id: String,
pub name: String,
pub email: String,
pub roles: Vec<String>,
pub is_active: bool,
}Fields§
§id: String§name: String§email: String§roles: Vec<String>§is_active: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for AuthUser
impl RefUnwindSafe for AuthUser
impl Send for AuthUser
impl Sync for AuthUser
impl Unpin for AuthUser
impl UnwindSafe for AuthUser
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