Struct riven::endpoints::ChampionMasteryV4 [−][src]
pub struct ChampionMasteryV4<'a> { /* fields omitted */ }
Expand description
ChampionMasteryV4 endpoints handle, accessed by calling champion_mastery_v4()
on a RiotApi
instance.
Riot Developer API Reference
Note: this struct is automatically generated.
Implementations
pub fn get_all_champion_masteries(
&self,
region: Region,
encrypted_summoner_id: &str
) -> impl Future<Output = Result<Vec<ChampionMastery>>> + 'a
[src]
pub fn get_all_champion_masteries(
&self,
region: Region,
encrypted_summoner_id: &str
) -> impl Future<Output = Result<Vec<ChampionMastery>>> + 'a
[src]Get all champion mastery entries sorted by number of champion points descending,
Parameters
region
- Region to query.encryptedSummonerId
- Summoner ID associated with the player
Riot Developer API Reference
champion-mastery-v4.getAllChampionMasteries
Note: this method is automatically generated.
pub fn get_champion_mastery(
&self,
region: Region,
encrypted_summoner_id: &str,
champion_id: Champion
) -> impl Future<Output = Result<Option<ChampionMastery>>> + 'a
[src]
pub fn get_champion_mastery(
&self,
region: Region,
encrypted_summoner_id: &str,
champion_id: Champion
) -> impl Future<Output = Result<Option<ChampionMastery>>> + 'a
[src]Get a champion mastery by player ID and champion ID.
Parameters
region
- Region to query.championId
- Champion ID to retrieve Champion Mastery forencryptedSummonerId
- Summoner ID associated with the player
Riot Developer API Reference
champion-mastery-v4.getChampionMastery
Note: this method is automatically generated.
Get a player’s total champion mastery score, which is the sum of individual champion mastery levels.
Parameters
region
- Region to query.encryptedSummonerId
- Summoner ID associated with the player
Riot Developer API Reference
champion-mastery-v4.getChampionMasteryScore
Note: this method is automatically generated.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ChampionMasteryV4<'a>
impl<'a> Send for ChampionMasteryV4<'a>
impl<'a> Sync for ChampionMasteryV4<'a>
impl<'a> Unpin for ChampionMasteryV4<'a>
impl<'a> !UnwindSafe for ChampionMasteryV4<'a>