pub struct UserInfo {
pub username: String,
pub sid: Option<String>,
pub source: &'static str,
}Expand description
User/account information.
Fields§
§username: StringUsername.
sid: Option<String>Optional SID string.
source: &'static strData source label (for example: profile_list/current_user).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UserInfo
impl RefUnwindSafe for UserInfo
impl Send for UserInfo
impl Sync for UserInfo
impl Unpin for UserInfo
impl UnsafeUnpin 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