[][src]Struct riven::endpoints::LeagueV4

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

LeagueV4 endpoints handle, accessed by calling league_v4() on a RiotApi instance.

Riot Developer API Reference

league-v4

Note: this struct is automatically generated.

Implementations

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

pub fn get_challenger_league(
    &self,
    region: Region,
    queue: QueueType
) -> impl Future<Output = Result<LeagueList>> + 'a
[src]

Get the challenger league for given queue.

Parameters

  • region - Region to query.
  • queue

Riot Developer API Reference

league-v4.getChallengerLeague

Note: this method is automatically generated.

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

Get league entries in all queues for a given summoner ID.

Parameters

  • region - Region to query.
  • encryptedSummonerId

Riot Developer API Reference

league-v4.getLeagueEntriesForSummoner

Note: this method is automatically generated.

pub fn get_league_entries(
    &self,
    region: Region,
    queue: QueueType,
    tier: Tier,
    division: Division,
    page: Option<i32>
) -> impl Future<Output = Result<Vec<LeagueEntry>>> + 'a
[src]

Get all the league entries.

Parameters

  • region - Region to query.
  • division
  • tier
  • queue - Note that the queue value must be a valid ranked queue.
  • page (optional) - Starts with page 1.

Riot Developer API Reference

league-v4.getLeagueEntries

Note: this method is automatically generated.

pub fn get_grandmaster_league(
    &self,
    region: Region,
    queue: QueueType
) -> impl Future<Output = Result<LeagueList>> + 'a
[src]

Get the grandmaster league of a specific queue.

Parameters

  • region - Region to query.
  • queue

Riot Developer API Reference

league-v4.getGrandmasterLeague

Note: this method is automatically generated.

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

Get league with given ID, including inactive entries.

Parameters

  • region - Region to query.
  • leagueId - The UUID of the league.

Riot Developer API Reference

league-v4.getLeagueById

Note: this method is automatically generated.

pub fn get_master_league(
    &self,
    region: Region,
    queue: QueueType
) -> impl Future<Output = Result<LeagueList>> + 'a
[src]

Get the master league for given queue.

Parameters

  • region - Region to query.
  • queue

Riot Developer API Reference

league-v4.getMasterLeague

Note: this method is automatically generated.

Auto Trait Implementations

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

impl<'a> Send for LeagueV4<'a>

impl<'a> Sync for LeagueV4<'a>

impl<'a> Unpin for LeagueV4<'a>

impl<'a> !UnwindSafe for LeagueV4<'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>,