pub struct SessionResult {
pub user: User,
pub session: Session,
}Expand description
Result returned by AuthService::get_session.
Fields§
§user: UserThe user associated with the session.
session: SessionThe session details.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SessionResult
impl RefUnwindSafe for SessionResult
impl Send for SessionResult
impl Sync for SessionResult
impl Unpin for SessionResult
impl UnsafeUnpin for SessionResult
impl UnwindSafe for SessionResult
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