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§
- Utilities for working with ranks, represented as
(Tier, Division)
tuples.
Structs§
- A League of Legends champion.
- A League of Legends map.
- A League of Legends matchmaking queue.
- A League of Legends season for competitive matchmaking.
Enums§
- LoL and TFT rank divisions, I, II, III, IV, and (deprecated) V.
- League of Legends game mode, such as Classic, ARAM, URF, One For All, Ascension, etc.
- League of Legends game type: matched game, custom game, or tutorial game.
- Platform routes for League of Legends (LoL), Teamfight Tactics (TFT), and Legends of Runeterra (LoR).
- LoL or TFT ranked queue types.
- Regional routes, used in tournament services, Legends of Runeterra (LoR), and other some endpoints.
- Utility enum containing all routing variants.
- League of Legends team.
- LoL and TFT ranked tiers, such as gold, diamond, challenger, etc.
- Tournament regions for League of Legends (LoL) used in
tournament-stub-v4.registerProviderData
andtournament-v4.registerProviderData
. - Platform routes for Valorant.
Traits§
- Trait allowing iteration of enum types, implemented by several enums in this module. Re-exported from strum. This trait designates that an
Enum
can be iterated over. It can be auto generated usingstrum_macros
on your behalf.