#[repr(C)]pub struct _tagEOS_UserInfo {
pub ApiVersion: i32,
pub UserId: EOS_EpicAccountId,
pub Country: *const c_char,
pub DisplayName: *const c_char,
pub PreferredLanguage: *const c_char,
pub Nickname: *const c_char,
pub DisplayNameSanitized: *const c_char,
}Expand description
A structure that contains the user information. These structures are created by EOS_UserInfo_CopyUserInfo and must be passed to EOS_UserInfo_Release.
Fields§
§ApiVersion: i32API Version: Set this to EOS_USERINFO_COPYUSERINFO_API_LATEST.
UserId: EOS_EpicAccountIdThe Epic Account ID of the user
Country: *const c_charThe name of the owner’s country. This may be null
DisplayName: *const c_charThe display name (un-sanitized). This may be null
PreferredLanguage: *const c_charThe ISO 639 language code for the user’s preferred language. This may be null
Nickname: *const c_charA nickname/alias for the target user assigned by the local user. This may be null
DisplayNameSanitized: *const c_charThe raw display name (sanitized). This may be null
Trait Implementations§
Source§impl Clone for _tagEOS_UserInfo
impl Clone for _tagEOS_UserInfo
Source§fn clone(&self) -> _tagEOS_UserInfo
fn clone(&self) -> _tagEOS_UserInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for _tagEOS_UserInfo
impl Debug for _tagEOS_UserInfo
Source§impl Default for _tagEOS_UserInfo
impl Default for _tagEOS_UserInfo
impl Copy for _tagEOS_UserInfo
Auto Trait Implementations§
impl Freeze for _tagEOS_UserInfo
impl RefUnwindSafe for _tagEOS_UserInfo
impl !Send for _tagEOS_UserInfo
impl !Sync for _tagEOS_UserInfo
impl Unpin for _tagEOS_UserInfo
impl UnsafeUnpin for _tagEOS_UserInfo
impl UnwindSafe for _tagEOS_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