Struct riven::endpoints::TftLeagueV1 [−][src]
pub struct TftLeagueV1<'a> { /* fields omitted */ }
Expand description
TftLeagueV1 endpoints handle, accessed by calling tft_league_v1()
on a RiotApi
instance.
Riot Developer API Reference
Note: this struct is automatically generated.
Implementations
pub fn get_challenger_league(
&self,
region: Region
) -> impl Future<Output = Result<LeagueList>> + 'a
[src]
pub fn get_challenger_league(
&self,
region: Region
) -> impl Future<Output = Result<LeagueList>> + 'a
[src]Get the challenger league.
Parameters
region
- Region to query.
Riot Developer API Reference
tft-league-v1.getChallengerLeague
Note: this method is automatically generated.
pub fn get_league_entries_for_summoner(
&self,
region: Region,
summoner_id: &str
) -> impl Future<Output = Result<Vec<LeagueEntry>>> + 'a
[src]
pub fn get_league_entries_for_summoner(
&self,
region: Region,
summoner_id: &str
) -> impl Future<Output = Result<Vec<LeagueEntry>>> + 'a
[src]Get league entries for a given summoner ID.
Parameters
region
- Region to query.summonerId
Riot Developer API Reference
tft-league-v1.getLeagueEntriesForSummoner
Note: this method is automatically generated.
Get all the league entries.
Parameters
region
- Region to query.tier
division
page
(optional) - Defaults to 1. Starts with page 1.
Riot Developer API Reference
tft-league-v1.getLeagueEntries
Note: this method is automatically generated.
pub fn get_grandmaster_league(
&self,
region: Region
) -> impl Future<Output = Result<LeagueList>> + 'a
[src]
pub fn get_grandmaster_league(
&self,
region: Region
) -> impl Future<Output = Result<LeagueList>> + 'a
[src]Get the grandmaster league.
Parameters
region
- Region to query.
Riot Developer API Reference
tft-league-v1.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]
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
Note: this method is automatically generated.
pub fn get_master_league(
&self,
region: Region
) -> impl Future<Output = Result<LeagueList>> + 'a
[src]
pub fn get_master_league(
&self,
region: Region
) -> impl Future<Output = Result<LeagueList>> + 'a
[src]Get the master league.
Parameters
region
- Region to query.
Riot Developer API Reference
Note: this method is automatically generated.
pub fn get_top_rated_ladder(
&self,
region: Region,
queue: QueueType
) -> impl Future<Output = Result<Vec<TopRatedLadderEntry>>> + 'a
[src]
pub fn get_top_rated_ladder(
&self,
region: Region,
queue: QueueType
) -> impl Future<Output = Result<Vec<TopRatedLadderEntry>>> + 'a
[src]Get the top rated ladder for given queue
Parameters
region
- Region to query.queue
Riot Developer API Reference
tft-league-v1.getTopRatedLadder
Note: this method is automatically generated.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for TftLeagueV1<'a>
impl<'a> Send for TftLeagueV1<'a>
impl<'a> Sync for TftLeagueV1<'a>
impl<'a> Unpin for TftLeagueV1<'a>
impl<'a> !UnwindSafe for TftLeagueV1<'a>