[][src]Struct riven::SpectatorV4

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

SpectatorV4 endpoints. This struct is automatically generated.

Official API Reference

https://developer.riotgames.com/api-methods/#spectator-v4

Methods

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>, Error>> + 'a
[src]

Get current game information for the given summoner ID.

Official API Reference

https://developer.riotgames.com/api-methods/#spectator-v4/GET_getCurrentGameInfoBySummoner

Parameters

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

Auto Trait Implementations

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

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

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

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

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

Blanket Implementations

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

impl<T> From<T> for 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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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