pub struct AuthUser<U, P: PluginSet> {
pub fields: U,
/* private fields */
}Expand description
The signed-in user with the app’s fields and every plugin’s fields, typed.
Fields§
§fields: UThe app’s .user_fields::<U>().
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<U, P> Forget for AuthUser<U, P>
impl<U, P> Freeze for AuthUser<U, P>
impl<U, P> Move for AuthUser<U, P>
impl<U, P> RefUnwindSafe for AuthUser<U, P>
impl<U, P> Send for AuthUser<U, P>
impl<U, P> Sync for AuthUser<U, P>
impl<U, P> Unpin for AuthUser<U, P>
impl<U, P> UnsafeUnpin for AuthUser<U, P>
impl<U, P> UnwindSafe for AuthUser<U, P>
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