pub struct UserSummaryProfile {Show 20 fields
pub name: String,
pub real_name: String,
pub online_state: String,
pub steam_id: SteamID,
pub avatar_hash: String,
pub avatar_frame: Option<String>,
pub custom_url: String,
pub location: String,
pub summary: Option<String>,
pub not_yet_setup: bool,
pub profile_private_info: Option<String>,
pub lobby_link: Option<String>,
pub add_friend_enable: bool,
pub is_private: bool,
pub url: String,
pub nickname: Option<String>,
pub level: Option<u32>,
pub day_last_ban: Option<i64>,
pub game_ban: Option<GameBanData>,
pub state_message_game: Option<String>,
}Expand description
User summary from HTML profile page (parsed).
This represents the parsed data from Steam’s HTML profile page.
Fields§
§name: StringDisplay name (persona name).
real_name: StringReal name if provided.
online_state: StringOnline state: “offline”, “online”, “in-game”.
steam_id: SteamID64-bit Steam ID.
avatar_hash: StringAvatar hash.
avatar_frame: Option<String>Avatar frame URL if equipped.
custom_url: StringCustom URL (vanity path).
location: StringCountry location code.
summary: Option<String>Profile summary/bio.
not_yet_setup: boolWhether profile has not been set up yet.
profile_private_info: Option<String>Private profile info message.
lobby_link: Option<String>Steam lobby link if in a joinable lobby.
add_friend_enable: boolWhether the “Add Friend” button is visible.
is_private: boolWhether the profile is private.
url: StringFull profile URL.
nickname: Option<String>Nickname set by the viewer for this user.
level: Option<u32>Steam level.
day_last_ban: Option<i64>Timestamp of last ban (Unix milliseconds).
game_ban: Option<GameBanData>Game ban information.
state_message_game: Option<String>Current game name if in-game.
Trait Implementations§
Source§impl Clone for UserSummaryProfile
impl Clone for UserSummaryProfile
Source§fn clone(&self) -> UserSummaryProfile
fn clone(&self) -> UserSummaryProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UserSummaryProfile
impl Debug for UserSummaryProfile
Source§impl<'de> Deserialize<'de> for UserSummaryProfile
impl<'de> Deserialize<'de> for UserSummaryProfile
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 UserSummaryProfile
impl RefUnwindSafe for UserSummaryProfile
impl Send for UserSummaryProfile
impl Sync for UserSummaryProfile
impl Unpin for UserSummaryProfile
impl UnsafeUnpin for UserSummaryProfile
impl UnwindSafe for UserSummaryProfile
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more