pub struct UserSummaryXml {Show 20 fields
pub name: String,
pub real_name: Option<String>,
pub steam_id: SteamID,
pub online_state: String,
pub state_message: String,
pub state_message_game: Option<String>,
pub state_message_non_steam_game: Option<String>,
pub privacy_state: String,
pub visibility_state: Option<i32>,
pub avatar_hash: String,
pub vac_banned: Option<i32>,
pub trade_ban_state: Option<String>,
pub is_limited_account: Option<bool>,
pub custom_url: Option<String>,
pub member_since: Option<i64>,
pub steam_rating: Option<String>,
pub location: Option<String>,
pub summary: Option<String>,
pub privacy_message: Option<String>,
pub not_yet_setup: bool,
}Expand description
User summary from XML profile endpoint (/profiles/{steamid}/?xml=1).
This represents the parsed data from Steam’s XML profile format.
Fields§
§name: StringDisplay name (persona name).
real_name: Option<String>Real name if provided.
steam_id: SteamID64-bit Steam ID.
online_state: StringOnline state: “offline”, “online”, “in-game”.
state_message: StringParsed state message: “offline”, “online”, “in-game”.
state_message_game: Option<String>Game name if in-game (Steam game).
state_message_non_steam_game: Option<String>Game name if in non-Steam game.
privacy_state: StringPrivacy state: “public”, “private”, “friendsonly”.
visibility_state: Option<i32>Visibility state: 1 (private), 2 (friends only), 3 (public).
avatar_hash: StringAvatar hash (hash portion of avatar URL).
vac_banned: Option<i32>VAC ban status: 0 = no ban, 1+ = banned.
trade_ban_state: Option<String>Trade ban state: “None” or ban description.
is_limited_account: Option<bool>Whether this is a limited account.
custom_url: Option<String>Custom URL (vanity URL path).
member_since: Option<i64>Member since timestamp (Unix milliseconds).
steam_rating: Option<String>Steam rating.
location: Option<String>Location string.
summary: Option<String>Profile summary/bio.
privacy_message: Option<String>Privacy message if profile is private.
not_yet_setup: boolWhether profile has not been set up yet.
Trait Implementations§
Source§impl Clone for UserSummaryXml
impl Clone for UserSummaryXml
Source§fn clone(&self) -> UserSummaryXml
fn clone(&self) -> UserSummaryXml
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UserSummaryXml
impl Debug for UserSummaryXml
Source§impl<'de> Deserialize<'de> for UserSummaryXml
impl<'de> Deserialize<'de> for UserSummaryXml
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>,
Auto Trait Implementations§
impl Freeze for UserSummaryXml
impl RefUnwindSafe for UserSummaryXml
impl Send for UserSummaryXml
impl Sync for UserSummaryXml
impl Unpin for UserSummaryXml
impl UnsafeUnpin for UserSummaryXml
impl UnwindSafe for UserSummaryXml
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
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>
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>
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