[][src]Struct riven::endpoints::SpectatorV4

pub struct SpectatorV4<'a> { /* fields omitted */ }

SpectatorV4 endpoints handle, accessed by calling spectator_v4() on a RiotApi instance.

Riot Developer API Reference

spectator-v4

Note: this struct is automatically generated.

Implementations

impl<'a> SpectatorV4<'a>[src]

pub fn get_current_game_info_by_summoner(
    &self,
    region: Region,
    encrypted_summoner_id: &str
) -> impl Future<Output = Result<Option<CurrentGameInfo>>> + 'a
[src]

Get current game information for the given summoner ID.

Parameters

  • region - Region to query.
  • encryptedSummonerId - The ID of the summoner.

Riot Developer API Reference

spectator-v4.getCurrentGameInfoBySummoner

Note: this method is automatically generated.

Get list of featured games.

Parameters

  • region - Region to query.

Riot Developer API Reference

spectator-v4.getFeaturedGames

Note: this method is automatically generated.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for SpectatorV4<'a>

impl<'a> Send for SpectatorV4<'a>

impl<'a> Sync for SpectatorV4<'a>

impl<'a> Unpin for SpectatorV4<'a>

impl<'a> !UnwindSafe for SpectatorV4<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

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