[][src]Module riven::consts

Constant data and Enums used with the Riot Games API.

This module uses SCREAMING_SNAKE_CASE for enum variants, as enums in this crate should be considered collections of constants.

Modules

ranks

Utilities for working with ranks, represented as (Tier, Division) tuples.

Structs

ChampionIter

Enums

Champion

League of Legend's champions.

Division

LoL and TFT rank divisions, I, II, III, IV, and (deprecated) V.

GameMode

League of Legends game mode, such as Classic, ARAM, URF, One For All, Ascension, etc.

GameType

League of Legends game type: matched game, custom game, or tutorial game.

Map

League of Legends maps.

Queue

League of Legends matchmaking queue.

QueueType

LoL or TFT ranked queue types.

Region

A region served by a single game server. Each Riot Games API request is directed at a particular region, with tournament API requests directed at the AMERICAS "global" region.

Season

League of Legends matchmaking seasons.

Team

League of Legends team.

Tier

LoL and TFT ranked tiers, such as gold, diamond, challenger, etc.

Traits

IntoEnumIterator

Trait allowing iteration of enum types, implemented by several enums in this module. Re-exported from strum.