Skip to main content

FallbackSteamUser

Struct FallbackSteamUser 

Source
pub struct FallbackSteamUser {
    pub local: SteamUser,
}
Expand description

A composite client that attempts requests across local, remote, and GAS clients sequentially.

Note: To keep things simple and unified across error types, the SteamUserApi implementation for FallbackSteamUser returns SteamUserError. If remote or gas fail, their errors are mapped to a SteamUserError::Other.

Fields§

§local: SteamUser

Implementations§

Source§

impl FallbackSteamUser

Source

pub fn new(local: SteamUser) -> Self

Trait Implementations§

Source§

impl SteamUserApi for FallbackSteamUser

Source§

type Error = SteamUserError

The error type returned by all methods.
Source§

fn get_account_details<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<AccountDetails, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_steam_wallet_balance<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<WalletBalance, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_amount_spent_on_steam<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_purchase_history<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<PurchaseHistoryItem>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn redeem_wallet_code<'life0, 'life1, 'async_trait>( &'life0 self, code: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<RedeemWalletCodeResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn parental_unlock<'life0, 'life1, 'async_trait>( &'life0 self, pin: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn get_friend_activity<'life0, 'async_trait>( &'life0 self, start: Option<u64>, ) -> Pin<Box<dyn Future<Output = Result<FriendActivityResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_friend_activity_full<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<FriendActivity>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn comment_user_received_new_game<'life0, 'life1, 'async_trait>( &'life0 self, steam_id: SteamID, thread_id: u64, comment: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<ActivityCommentResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn rate_up_user_received_new_game<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, thread_id: u64, ) -> Pin<Box<dyn Future<Output = Result<ActivityCommentResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn delete_comment_user_received_new_game<'life0, 'life1, 'async_trait>( &'life0 self, steam_id: SteamID, thread_id: u64, comment_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<ActivityCommentResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn get_owned_apps<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<OwnedApp>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_owned_apps_id<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<u32>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_owned_apps_detail<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<OwnedAppDetail>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_app_detail<'life0, 'life1, 'async_trait>( &'life0 self, app_ids: &'life1 [u32], ) -> Pin<Box<dyn Future<Output = Result<HashMap<u32, AppDetail>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn fetch_csgo_account_stats<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<CsgoAccountStats, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_app_list<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<SimpleSteamAppList, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn suggest_app_list<'life0, 'life1, 'async_trait>( &'life0 self, term: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<AppListItem>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn query_app_list<'life0, 'life1, 'async_trait>( &'life0 self, term: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<AppListItem>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn get_steam_app_version_info<'life0, 'async_trait>( &'life0 self, app_id: u32, ) -> Pin<Box<dyn Future<Output = Result<SteamAppVersionInfo, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_dynamic_store_user_data<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<DynamicStoreUserData, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn fetch_batched_loyalty_reward_items<'life0, 'life1, 'async_trait>( &'life0 self, app_ids: &'life1 [u32], ) -> Pin<Box<dyn Future<Output = Result<Vec<CLoyaltyRewardsBatchedQueryRewardItemsResponseResponse>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn get_my_comments<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<UserComment>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_user_comments<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<Vec<UserComment>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn post_comment<'life0, 'life1, 'async_trait>( &'life0 self, steam_id: SteamID, message: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Option<UserComment>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn delete_comment<'life0, 'life1, 'async_trait>( &'life0 self, steam_id: SteamID, gidcomment: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn get_confirmations<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, identity_secret: &'life1 str, tag: Option<&'life2 str>, ) -> Pin<Box<dyn Future<Output = Result<Vec<Confirmation>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source§

fn accept_confirmation_for_object<'life0, 'life1, 'async_trait>( &'life0 self, identity_secret: &'life1 str, object_id: u64, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn deny_confirmation_for_object<'life0, 'life1, 'async_trait>( &'life0 self, identity_secret: &'life1 str, object_id: u64, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn get_account_email<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_current_steam_login<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn add_friend<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn remove_friend<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn accept_friend_request<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn ignore_friend_request<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn block_user<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn unblock_user<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_friends_list<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<HashMap<SteamID, i32>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_friends_details<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<FriendListPage, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_friends_details_of_user<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<FriendListPage, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn search_users<'life0, 'life1, 'async_trait>( &'life0 self, query: &'life1 str, page: u32, ) -> Pin<Box<dyn Future<Output = Result<CommunitySearchResult, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn create_instant_invite<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn follow_user<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn unfollow_user<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_following_list<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<FriendListPage, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_following_list_of_user<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<FriendListPage, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_my_friends_id_list<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<SteamID>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_pending_friend_list<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<PendingFriendList, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn remove_friends<'life0, 'life1, 'async_trait>( &'life0 self, steam_ids: &'life1 [SteamID], ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn unfollow_users<'life0, 'life1, 'async_trait>( &'life0 self, steam_ids: &'life1 [SteamID], ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn cancel_friend_request<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_friends_in_common<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<Vec<FriendDetails>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn join_group<'life0, 'async_trait>( &'life0 self, group_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn leave_group<'life0, 'async_trait>( &'life0 self, group_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_group_members<'life0, 'async_trait>( &'life0 self, group_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<Vec<SteamID>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn post_group_announcement<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, group_id: SteamID, headline: &'life1 str, content: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source§

fn kick_group_member<'life0, 'async_trait>( &'life0 self, group_id: SteamID, member_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn invite_user_to_group<'life0, 'async_trait>( &'life0 self, user_id: SteamID, group_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn invite_users_to_group<'life0, 'life1, 'async_trait>( &'life0 self, user_ids: &'life1 [SteamID], group_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn accept_group_invite<'life0, 'async_trait>( &'life0 self, group_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn ignore_group_invite<'life0, 'async_trait>( &'life0 self, group_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_group_overview<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, gid: Option<SteamID>, group_url: Option<&'life1 str>, page: Option<i32>, search_key: Option<&'life2 str>, ) -> Pin<Box<dyn Future<Output = Result<GroupOverview, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source§

fn get_group_steam_id_from_vanity_url<'life0, 'life1, 'async_trait>( &'life0 self, vanity_url: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn get_group_info_xml<'life0, 'life1, 'async_trait>( &'life0 self, gid: Option<SteamID>, group_url: Option<&'life1 str>, page: Option<u32>, ) -> Pin<Box<dyn Future<Output = Result<GroupInfoXml, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn get_group_info_xml_full<'life0, 'life1, 'async_trait>( &'life0 self, gid: Option<SteamID>, group_url: Option<&'life1 str>, ) -> Pin<Box<dyn Future<Output = Result<GroupInfoXml, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn get_invitable_groups<'life0, 'async_trait>( &'life0 self, user_steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<Vec<InvitableGroup>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn invite_all_friends_to_group<'life0, 'async_trait>( &'life0 self, group_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_inventory<'life0, 'async_trait>( &'life0 self, appid: AppId, context_id: ContextId, ) -> Pin<Box<dyn Future<Output = Result<Vec<EconItem>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_user_inventory_contents<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, appid: AppId, context_id: ContextId, ) -> Pin<Box<dyn Future<Output = Result<Vec<EconItem>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_inventory_history<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<InventoryHistoryResult, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_price_overview<'life0, 'life1, 'async_trait>( &'life0 self, appid: AppId, market_hash_name: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<PriceOverview, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn get_active_inventories<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<ActiveInventory>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_inventory_trading<'life0, 'async_trait>( &'life0 self, appid: AppId, context_id: ContextId, ) -> Pin<Box<dyn Future<Output = Result<Value, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_inventory_trading_partner<'life0, 'async_trait>( &'life0 self, appid: AppId, partner: SteamID, context_id: ContextId, ) -> Pin<Box<dyn Future<Output = Result<Value, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_full_inventory_history<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<InventoryHistoryItem>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_my_listings<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<MyListingsResult, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_market_history<'life0, 'async_trait>( &'life0 self, start: u32, count: u32, ) -> Pin<Box<dyn Future<Output = Result<MarketHistoryResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn sell_item<'life0, 'async_trait>( &'life0 self, appid: AppId, contextid: ContextId, assetid: AssetId, amount: Amount, price: PriceCents, ) -> Pin<Box<dyn Future<Output = Result<SellItemResult, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn remove_listing<'life0, 'life1, 'async_trait>( &'life0 self, listing_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<bool, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn get_gem_value<'life0, 'async_trait>( &'life0 self, appid: AppId, assetid: AssetId, ) -> Pin<Box<dyn Future<Output = Result<GemValue, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn turn_item_into_gems<'life0, 'async_trait>( &'life0 self, appid: AppId, assetid: AssetId, expected_value: u32, ) -> Pin<Box<dyn Future<Output = Result<GemResult, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_booster_pack_catalog<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<BoosterPackEntry>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn create_booster_pack<'life0, 'async_trait>( &'life0 self, appid: AppId, use_untradable_gems: bool, ) -> Pin<Box<dyn Future<Output = Result<BoosterResult, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn open_booster_pack<'life0, 'async_trait>( &'life0 self, appid: AppId, assetid: AssetId, ) -> Pin<Box<dyn Future<Output = Result<Vec<EconItem>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_market_restrictions<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(MarketRestrictions, Option<WalletBalance>), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_market_apps<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<HashMap<u32, String>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_item_nameid<'life0, 'life1, 'async_trait>( &'life0 self, app_id: AppId, market_hash_name: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<ItemNameId, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn get_item_orders_histogram<'life0, 'life1, 'async_trait>( &'life0 self, item_nameid: ItemNameId, country: &'life1 str, currency: u32, ) -> Pin<Box<dyn Future<Output = Result<ItemOrdersHistogramResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn get_phone_number_status<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Option<String>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn add_phone_number<'life0, 'life1, 'async_trait>( &'life0 self, phone: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<AddPhoneNumberResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn confirm_phone_code_for_add<'life0, 'life1, 'async_trait>( &'life0 self, code: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<ConfirmPhoneCodeResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn resend_phone_verification_code<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Value, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_remove_phone_number_type<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Option<RemovePhoneResult>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn send_account_recovery_code<'life0, 'async_trait>( &'life0 self, wizard_param: Value, method: i32, ) -> Pin<Box<dyn Future<Output = Result<Value, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn confirm_remove_phone_number_code<'life0, 'life1, 'async_trait>( &'life0 self, wizard_param: Value, code: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Value, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn send_confirmation_2_steam_mobile_app<'life0, 'async_trait>( &'life0 self, wizard_param: Value, ) -> Pin<Box<dyn Future<Output = Result<Value, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn send_confirmation_2_steam_mobile_app_final<'life0, 'async_trait>( &'life0 self, wizard_param: Value, ) -> Pin<Box<dyn Future<Output = Result<Value, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_privacy_settings<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<PrivacySettings, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn set_privacy_settings<'life0, 'async_trait>( &'life0 self, settings: PrivacySettings, ) -> Pin<Box<dyn Future<Output = Result<PrivacySettings, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn set_all_privacy<'life0, 'life1, 'async_trait>( &'life0 self, level: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<PrivacySettings, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn get_profile<'life0, 'async_trait>( &'life0 self, steam_id: Option<SteamID>, ) -> Pin<Box<dyn Future<Output = Result<SteamProfile, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn edit_profile<'life0, 'async_trait>( &'life0 self, settings: Value, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

👎Deprecated:

scraper is !Send; call SteamUser::edit_profile() directly instead of using this trait method

Source§

fn set_persona_name<'life0, 'life1, 'async_trait>( &'life0 self, name: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn get_alias_history<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<Vec<AliasEntry>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn clear_previous_aliases<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn set_nickname<'life0, 'life1, 'async_trait>( &'life0 self, steam_id: SteamID, nickname: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn remove_nickname<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn post_profile_status<'life0, 'life1, 'async_trait>( &'life0 self, text: &'life1 str, app_id: Option<u32>, ) -> Pin<Box<dyn Future<Output = Result<u64, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn select_previous_avatar<'life0, 'life1, 'async_trait>( &'life0 self, avatar_hash: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn setup_profile<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<bool, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_user_summary_from_xml<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<UserSummaryXml, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_user_summary_from_profile<'life0, 'async_trait>( &'life0 self, steam_id: Option<SteamID>, ) -> Pin<Box<dyn Future<Output = Result<UserSummaryProfile, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn fetch_full_profile<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<SteamProfile, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

👎Deprecated:

scraper is !Send; call SteamUser::fetch_full_profile() directly instead of using this trait method

Source§

fn resolve_user<'life0, 'async_trait>( &'life0 self, steam_id: SteamID, ) -> Pin<Box<dyn Future<Output = Result<Option<SteamUserProfile>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_avatar_history<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<AvatarHistoryEntry>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn upload_avatar_from_url<'life0, 'life1, 'async_trait>( &'life0 self, url: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<AvatarUploadResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn enumerate_tokens<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<CAuthenticationRefreshTokenEnumerateResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn check_token_exists<'life0, 'life1, 'async_trait>( &'life0 self, token_id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<bool, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn revoke_tokens<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, token_ids: &'life1 [&'life2 str], shared_secret: Option<&'life3 str>, ) -> Pin<Box<dyn Future<Output = Result<RevokeTokensResult, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Source§

fn get_trade_url<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Option<String>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_trade_offer<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<TradeOffersResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn accept_trade_offer<'life0, 'async_trait>( &'life0 self, trade_offer_id: u64, partner_steam_id: Option<String>, ) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn decline_trade_offer<'life0, 'async_trait>( &'life0 self, trade_offer_id: u64, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn send_trade_offer<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, trade_url: &'life1 str, my_assets: Vec<TradeOfferAsset>, their_assets: Vec<TradeOfferAsset>, message: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<TradeOfferResult, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source§

fn get_steam_guard_status<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<SteamGuardStatus, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn enable_two_factor<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<TwoFactorResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn finalize_two_factor<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, shared_secret: &'life1 str, activation_code: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source§

fn disable_two_factor<'life0, 'life1, 'async_trait>( &'life0 self, revocation_code: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn deauthorize_devices<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn add_authenticator<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<TwoFactorResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn finalize_authenticator<'life0, 'life1, 'async_trait>( &'life0 self, activation_code: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn remove_authenticator<'life0, 'life1, 'async_trait>( &'life0 self, revocation_code: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn enable_steam_guard_email<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<bool, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn disable_steam_guard_email<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<bool, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_player_reports<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<PlayerReport>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn add_free_license<'life0, 'async_trait>( &'life0 self, package_id: u32, ) -> Pin<Box<dyn Future<Output = Result<bool, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn add_sub_free_license<'life0, 'async_trait>( &'life0 self, sub_id: u32, ) -> Pin<Box<dyn Future<Output = Result<bool, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn redeem_points<'life0, 'async_trait>( &'life0 self, definition_id: u32, ) -> Pin<Box<dyn Future<Output = Result<CLoyaltyRewardsRedeemPointsResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_help_requests<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<HelpRequest>, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_help_request_detail<'life0, 'life1, 'async_trait>( &'life0 self, id: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Source§

fn get_match_history<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, match_type: &'life1 str, token: Option<&'life2 str>, ) -> Pin<Box<dyn Future<Output = Result<MatchHistoryResponse, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source§

fn logged_in<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<LoggedInResult, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_notifications<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Notifications, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn get_web_api_key<'life0, 'life1, 'async_trait>( &'life0 self, domain: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<String, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

👎Deprecated:

scraper is !Send; call SteamUser::get_web_api_key() directly instead of using this trait method

Source§

fn resolve_vanity_url<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, api_key: &'life1 str, vanity_name: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<SteamID, Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source§

fn revoke_web_api_key<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<(), Self::Error>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more