[][src]Struct riven::SummonerV4

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

SummonerV4 endpoints. This struct is automatically generated.

Official API Reference

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

Methods

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

pub fn get_by_account_id(
    &self,
    region: Region,
    encrypted_account_id: &str
) -> impl Future<Output = Result<Option<Summoner>, Error>> + 'a
[src]

Get a summoner by account ID.

Official API Reference

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

Parameters

  • region - Region to query.
  • encryptedAccountId

pub fn get_by_summoner_name(
    &self,
    region: Region,
    summoner_name: &str
) -> impl Future<Output = Result<Option<Summoner>, Error>> + 'a
[src]

Get a summoner by summoner name.

Official API Reference

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

Parameters

  • region - Region to query.
  • summonerName - Summoner Name

pub fn get_by_puuid(
    &self,
    region: Region,
    encrypted_puuid: &str
) -> impl Future<Output = Result<Option<Summoner>, Error>> + 'a
[src]

Get a summoner by PUUID.

Official API Reference

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

Parameters

  • region - Region to query.
  • encryptedPUUID - Summoner ID

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

Get a summoner by summoner ID.

Official API Reference

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

Parameters

  • region - Region to query.
  • encryptedSummonerId - Summoner ID

Auto Trait Implementations

impl<'a> Send for SummonerV4<'a>

impl<'a> Sync for SummonerV4<'a>

impl<'a> Unpin for SummonerV4<'a>

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

impl<'a> !RefUnwindSafe for SummonerV4<'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]