Struct riven::endpoints::SpectatorTftV5
source · pub struct SpectatorTftV5<'a> { /* private fields */ }
Expand description
SpectatorTftV5 endpoints handle, accessed by calling spectator_tft_v5()
on a RiotApi
instance.
§Riot Developer API Reference
Note: this struct is automatically generated.
Implementations§
source§impl<'a> SpectatorTftV5<'a>
impl<'a> SpectatorTftV5<'a>
sourcepub fn get_current_game_info_by_puuid(
&self,
route: PlatformRoute,
encrypted_puuid: &str,
) -> impl Future<Output = Result<Option<CurrentGameInfo>>> + 'a
pub fn get_current_game_info_by_puuid( &self, route: PlatformRoute, encrypted_puuid: &str, ) -> impl Future<Output = Result<Option<CurrentGameInfo>>> + 'a
Get current game information for the given puuid.
§Parameters
route
- Route to query.encrypted_puuid
(required, in path) - The puuid of the summoner.
§Riot Developer API Reference
spectator-tft-v5.getCurrentGameInfoByPuuid
Note: this method is automatically generated.
sourcepub fn get_featured_games(
&self,
route: PlatformRoute,
) -> impl Future<Output = Result<FeaturedGames>> + 'a
pub fn get_featured_games( &self, route: PlatformRoute, ) -> impl Future<Output = Result<FeaturedGames>> + 'a
Get list of featured games.
§Parameters
route
- Route to query.
§Riot Developer API Reference
spectator-tft-v5.getFeaturedGames
Note: this method is automatically generated.
Auto Trait Implementations§
impl<'a> Freeze for SpectatorTftV5<'a>
impl<'a> !RefUnwindSafe for SpectatorTftV5<'a>
impl<'a> Send for SpectatorTftV5<'a>
impl<'a> Sync for SpectatorTftV5<'a>
impl<'a> Unpin for SpectatorTftV5<'a>
impl<'a> !UnwindSafe for SpectatorTftV5<'a>
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