Struct headless_lms_server::controllers::auth::UserInfo
source · pub struct UserInfo {
pub user_id: Uuid,
pub first_name: Option<String>,
pub last_name: Option<String>,
}
Expand description
Generic information about the logged in user.
Could include the user name etc in the future.
Fields§
§user_id: Uuid
§first_name: Option<String>
§last_name: Option<String>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for UserInfo
impl Send for UserInfo
impl Sync for UserInfo
impl Unpin for UserInfo
impl UnwindSafe for UserInfo
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