#[non_exhaustive]pub struct LeaderboardUser {Show 14 fields
pub display_name: String,
pub email: Option<String>,
pub full_name: Option<String>,
pub human_readable_website: Option<String>,
pub id: String,
pub is_email_public: bool,
pub is_hireable: bool,
pub location: Option<String>,
pub photo: Option<String>,
pub photo_public: bool,
pub profile_url: Option<String>,
pub public_email: Option<String>,
pub username: Option<String>,
pub website: Option<String>,
}Expand description
Public user information exposed on the leaderboard.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.display_name: StringHuman-readable display name.
email: Option<String>Public email (empty string if not shared).
full_name: Option<String>Full legal name.
human_readable_website: Option<String>Human-readable website URL.
id: StringUnique user identifier (UUID).
is_email_public: boolWhether the email address is publicly visible.
is_hireable: boolWhether the user is open to work.
location: Option<String>Geographic location string.
photo: Option<String>Avatar image URL.
photo_public: boolWhether the avatar is publicly visible.
profile_url: Option<String>Absolute URL of the user’s public profile.
public_email: Option<String>Public email address (distinct from account email).
username: Option<String>Login handle.
website: Option<String>Personal website URL.
Trait Implementations§
Source§impl Clone for LeaderboardUser
impl Clone for LeaderboardUser
Source§fn clone(&self) -> LeaderboardUser
fn clone(&self) -> LeaderboardUser
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 LeaderboardUser
impl Debug for LeaderboardUser
Source§impl<'de> Deserialize<'de> for LeaderboardUser
impl<'de> Deserialize<'de> for LeaderboardUser
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 LeaderboardUser
impl RefUnwindSafe for LeaderboardUser
impl Send for LeaderboardUser
impl Sync for LeaderboardUser
impl Unpin for LeaderboardUser
impl UnsafeUnpin for LeaderboardUser
impl UnwindSafe for LeaderboardUser
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