[][src]Struct riven::endpoints::ValMatchV1

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

ValMatchV1 endpoints handle, accessed by calling val_match_v1() on a RiotApi instance.

Riot Developer API Reference

val-match-v1

Note: this struct is automatically generated.

Implementations

impl<'a> ValMatchV1<'a>[src]

pub fn get_match(
    &self,
    region: Region,
    match_id: &str
) -> impl Future<Output = Result<Option<Match>>> + 'a
[src]

Get match by id

Parameters

  • region - Region to query.
  • matchId

Riot Developer API Reference

val-match-v1.getMatch

Note: this method is automatically generated.

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

Get matchlist for games played by puuid

Parameters

  • region - Region to query.
  • puuid

Riot Developer API Reference

val-match-v1.getMatchlist

Note: this method is automatically generated.

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

Get recent matches

Implementation Notes

Returns a list of match ids that have completed in the last 10 minutes. NA/LATAM/BR share a match history deployment. As such, recent matches will return a combined list of matches from those three regions. Requests are load balanced so you may see some inconsistencies as matches are added/removed from the list.

Parameters

  • region - Region to query.
  • queue

Riot Developer API Reference

val-match-v1.getRecent

Note: this method is automatically generated.

Auto Trait Implementations

impl<'a> !RefUnwindSafe for ValMatchV1<'a>

impl<'a> Send for ValMatchV1<'a>

impl<'a> Sync for ValMatchV1<'a>

impl<'a> Unpin for ValMatchV1<'a>

impl<'a> !UnwindSafe for ValMatchV1<'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> Instrument for T[src]

impl<T> Instrument 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.