pub struct User<U> {
pub user_id: UserId,
pub user_attributes: U,
}Fields§
§user_id: UserId§user_attributes: UTrait Implementations§
Auto Trait Implementations§
impl<U> Freeze for User<U>where
U: Freeze,
impl<U> RefUnwindSafe for User<U>where
U: RefUnwindSafe,
impl<U> Send for User<U>where
U: Send,
impl<U> Sync for User<U>where
U: Sync,
impl<U> Unpin for User<U>where
U: Unpin,
impl<U> UnwindSafe for User<U>where
U: UnwindSafe,
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