pub struct MeResponse {
pub user_id: Uuid,
pub email: String,
pub username: String,
pub is_admin: bool,
}Expand description
Current user profile response.
Fields§
§user_id: UuidUser ID.
email: StringEmail address.
username: StringDisplay username.
is_admin: boolAdmin flag.
Trait Implementations§
Source§impl Debug for MeResponse
impl Debug for MeResponse
Auto Trait Implementations§
impl Freeze for MeResponse
impl RefUnwindSafe for MeResponse
impl Send for MeResponse
impl Sync for MeResponse
impl Unpin for MeResponse
impl UnsafeUnpin for MeResponse
impl UnwindSafe for MeResponse
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