pub struct LoginUserInfo {
pub id: UserId,
pub username: Box<str>,
pub is_site_admin: bool,
pub has_unread_notifications: bool,
pub has_pending_moderation_actions: bool,
}Fields§
§id: UserId§username: Box<str>§is_site_admin: bool§has_unread_notifications: bool§has_pending_moderation_actions: boolTrait Implementations§
Source§impl Debug for LoginUserInfo
impl Debug for LoginUserInfo
Source§impl<'de> Deserialize<'de> for LoginUserInfo
impl<'de> Deserialize<'de> for LoginUserInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LoginUserInfo
impl RefUnwindSafe for LoginUserInfo
impl Send for LoginUserInfo
impl Sync for LoginUserInfo
impl Unpin for LoginUserInfo
impl UnsafeUnpin for LoginUserInfo
impl UnwindSafe for LoginUserInfo
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