[][src]Struct riven::endpoints::ChampionMasteryV4

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

ChampionMasteryV4 endpoints handle, accessed by calling champion_mastery_v4() on a RiotApi instance.

Riot Developer API Reference

champion-mastery-v4

Note: this struct is automatically generated.

Implementations

impl<'a> ChampionMasteryV4<'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]

Get a champion mastery by player ID and champion ID.

Parameters

  • region - Region to query.
  • championId - Champion ID to retrieve Champion Mastery for
  • encryptedSummonerId - Summoner ID associated with the player

Riot Developer API Reference

champion-mastery-v4.getChampionMastery

Note: this method is automatically generated.

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

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>

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>,