Struct riven::endpoints::AccountV1[][src]

pub struct AccountV1<'a> { /* fields omitted */ }
Expand description

AccountV1 endpoints handle, accessed by calling account_v1() on a RiotApi instance.

Riot Developer API Reference

account-v1

Note: this struct is automatically generated.

Implementations

Get account by puuid

Parameters

  • region - Region to query.
  • puuid

Riot Developer API Reference

account-v1.getByPuuid

Note: this method is automatically generated.

Get account by riot id

Parameters

  • region - Region to query.
  • tagLine - When querying for a player by their riot id, the gameName and tagLine query params are required. However not all accounts have a gameName and tagLine associated so these fields may not be included in the response.
  • gameName - When querying for a player by their riot id, the gameName and tagLine query params are required. However not all accounts have a gameName and tagLine associated so these fields may not be included in the response.

Riot Developer API Reference

account-v1.getByRiotId

Note: this method is automatically generated.

Get active shard for a player

Parameters

  • region - Region to query.
  • game
  • puuid

Riot Developer API Reference

account-v1.getActiveShard

Note: this method is automatically generated.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.