[][src]Struct riven::RiotApi

pub struct RiotApi { /* fields omitted */ }

Methods

impl RiotApi[src]

pub fn champion_mastery_v4(&self) -> ChampionMasteryV4[src]

Handle for ChampionMasteryV4 endpoints. This method is automatically generated.

Official API Reference

https://developer.riotgames.com/api-methods/#champion-mastery-v4

pub fn champion_v3(&self) -> ChampionV3[src]

Handle for ChampionV3 endpoints. This method is automatically generated.

Official API Reference

https://developer.riotgames.com/api-methods/#champion-v3

pub fn league_exp_v4(&self) -> LeagueExpV4[src]

Handle for LeagueExpV4 endpoints. This method is automatically generated.

Official API Reference

https://developer.riotgames.com/api-methods/#league-exp-v4

pub fn league_v4(&self) -> LeagueV4[src]

Handle for LeagueV4 endpoints. This method is automatically generated.

Official API Reference

https://developer.riotgames.com/api-methods/#league-v4

pub fn lol_status_v3(&self) -> LolStatusV3[src]

Handle for LolStatusV3 endpoints. This method is automatically generated.

Official API Reference

https://developer.riotgames.com/api-methods/#lol-status-v3

pub fn match_v4(&self) -> MatchV4[src]

Handle for MatchV4 endpoints. This method is automatically generated.

Official API Reference

https://developer.riotgames.com/api-methods/#match-v4

pub fn spectator_v4(&self) -> SpectatorV4[src]

Handle for SpectatorV4 endpoints. This method is automatically generated.

Official API Reference

https://developer.riotgames.com/api-methods/#spectator-v4

pub fn summoner_v4(&self) -> SummonerV4[src]

Handle for SummonerV4 endpoints. This method is automatically generated.

Official API Reference

https://developer.riotgames.com/api-methods/#summoner-v4

pub fn third_party_code_v4(&self) -> ThirdPartyCodeV4[src]

Handle for ThirdPartyCodeV4 endpoints. This method is automatically generated.

Official API Reference

https://developer.riotgames.com/api-methods/#third-party-code-v4

pub fn tournament_stub_v4(&self) -> TournamentStubV4[src]

Handle for TournamentStubV4 endpoints. This method is automatically generated.

Official API Reference

https://developer.riotgames.com/api-methods/#tournament-stub-v4

pub fn tournament_v4(&self) -> TournamentV4[src]

Handle for TournamentV4 endpoints. This method is automatically generated.

Official API Reference

https://developer.riotgames.com/api-methods/#tournament-v4

impl RiotApi[src]

pub fn with_config(config: RiotApiConfig) -> Self[src]

pub fn with_key<T: Into<String>>(api_key: T) -> Self[src]

pub fn get<'a, T: DeserializeOwned + 'a>(
    &'a self,
    method_id: &'static str,
    region: Region,
    path: String,
    query: Option<String>
) -> impl Future<Output = Result<Option<T>, Error>> + 'a
[src]

Auto Trait Implementations

impl Send for RiotApi

impl Sync for RiotApi

impl Unpin for RiotApi

impl !UnwindSafe for RiotApi

impl !RefUnwindSafe for RiotApi

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]