[−][src]Struct riven::endpoints::TftLeagueV1
TftLeagueV1 endpoints handle, accessed by calling tft_league_v1()
on a RiotApi
instance.
Riot Developer API Reference
Note: this struct is automatically generated.
Methods
impl<'a> TftLeagueV1<'a>
[src]
pub fn get_challenger_league(
&self,
region: Region
) -> impl Future<Output = Result<LeagueList>> + 'a
[src]
&self,
region: Region
) -> impl Future<Output = Result<LeagueList>> + 'a
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,
encrypted_summoner_id: &str
) -> impl Future<Output = Result<Vec<LeagueEntry>>> + 'a
[src]
&self,
region: Region,
encrypted_summoner_id: &str
) -> impl Future<Output = Result<Vec<LeagueEntry>>> + 'a
Get league entries for a given summoner ID.
Parameters
region
- Region to query.encryptedSummonerId
Riot Developer API Reference
tft-league-v1.getLeagueEntriesForSummoner
Note: this method is automatically generated.
pub fn get_league_entries(
&self,
region: Region,
tier: &str,
division: &str,
page: Option<i32>
) -> impl Future<Output = Result<Vec<LeagueEntry>>> + 'a
[src]
&self,
region: Region,
tier: &str,
division: &str,
page: Option<i32>
) -> impl Future<Output = Result<Vec<LeagueEntry>>> + 'a
Get all the league entries.
Parameters
region
- Region to query.tier
division
page
(optional) - 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]
&self,
region: Region
) -> impl Future<Output = Result<LeagueList>> + 'a
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<LeagueList>> + 'a
[src]
&self,
region: Region,
league_id: &str
) -> impl Future<Output = Result<LeagueList>> + 'a
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]
&self,
region: Region
) -> impl Future<Output = Result<LeagueList>> + 'a
Get the master league.
Parameters
region
- Region to query.
Riot Developer API Reference
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>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,