Module riven::consts[][src]

Expand description

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
PlatformRouteIter
RegionalRouteIter
ValPlatformRouteIter

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.

PlatformRoute

Platform routes for League of Legends and Teamfight Tactics.

Queue

League of Legends matchmaking queue.

QueueType

LoL or TFT ranked queue types.

RegionalRoute

Regional routes, used in tournament services, Legends of Runterra, and other endpoints.

Route

Utility enum containing all routing variants.

Season

League of Legends matchmaking seasons.

Team

League of Legends team.

Tier

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

ValPlatformRoute

Platform routes for Valorant.

Traits

IntoEnumIterator

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