pub struct SteamClient { /* private fields */ }Implementations§
Source§impl SteamClient
impl SteamClient
pub fn new(api_key: String) -> Self
pub async fn get_news_for_app( &self, appid: i64, count: i64, maxlength: i64, ) -> Result<AppNewsResponse, SteamClientError>
pub async fn get_global_achievement_percentages_for_app( &self, gameid: i64, ) -> Result<GlobalAchievementResponse, SteamClientError>
pub async fn get_player_summaries( &self, steamids: Vec<String>, ) -> Result<PlayerSummariesResponse, SteamClientError>
pub async fn get_friend_list( &self, steamid: String, relationship: RelationshipType, ) -> Result<FriendsListResponse, SteamClientError>
pub async fn get_player_achievements( &self, appid: i64, steamid: String, ) -> Result<PlayerAchievementsResponse, SteamClientError>
pub async fn get_user_stats_for_game( &self, appid: i64, steamid: String, ) -> Result<PlayerStatsResponse, SteamClientError>
pub async fn get_owned_games( &self, steamid: String, include_appinfo: bool, include_played_free_games: bool, ) -> Result<OwnedGamesResponse, SteamClientError>
pub async fn get_recently_played_games( &self, steamid: String, count: i64, ) -> Result<RecentlyPlayedGamesResponse, SteamClientError>
Auto Trait Implementations§
impl Freeze for SteamClient
impl !RefUnwindSafe for SteamClient
impl Send for SteamClient
impl Sync for SteamClient
impl Unpin for SteamClient
impl UnsafeUnpin for SteamClient
impl !UnwindSafe for SteamClient
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