Struct riven::endpoints::SummonerV4
source · pub struct SummonerV4<'a> { /* private fields */ }
Expand description
SummonerV4 endpoints handle, accessed by calling summoner_v4()
on a RiotApi
instance.
§Riot Developer API Reference
Note: this struct is automatically generated.
Implementations§
source§impl<'a> SummonerV4<'a>
impl<'a> SummonerV4<'a>
sourcepub fn get_by_rsopuuid(
&self,
route: PlatformRoute,
rso_puuid: &str,
) -> impl Future<Output = Result<Summoner>> + 'a
pub fn get_by_rsopuuid( &self, route: PlatformRoute, rso_puuid: &str, ) -> impl Future<Output = Result<Summoner>> + 'a
sourcepub fn get_by_account_id(
&self,
route: PlatformRoute,
encrypted_account_id: &str,
) -> impl Future<Output = Result<Summoner>> + 'a
pub fn get_by_account_id( &self, route: PlatformRoute, encrypted_account_id: &str, ) -> impl Future<Output = Result<Summoner>> + 'a
sourcepub fn get_by_puuid(
&self,
route: PlatformRoute,
encrypted_puuid: &str,
) -> impl Future<Output = Result<Summoner>> + 'a
pub fn get_by_puuid( &self, route: PlatformRoute, encrypted_puuid: &str, ) -> impl Future<Output = Result<Summoner>> + 'a
sourcepub fn get_by_access_token(
&self,
route: PlatformRoute,
access_token: impl Display,
) -> impl Future<Output = Result<Summoner>> + 'a
pub fn get_by_access_token( &self, route: PlatformRoute, access_token: impl Display, ) -> impl Future<Output = Result<Summoner>> + 'a
Get a summoner by access token.
§Parameters
route
- Route to query.access_token
- RSO access token.
§RSO
This endpoint uses Riot Sign On
via the access_token
parameter, instead of the Riot API key.
§Riot Developer API Reference
Note: this method is automatically generated.
sourcepub fn get_by_summoner_id(
&self,
route: PlatformRoute,
encrypted_summoner_id: &str,
) -> impl Future<Output = Result<Summoner>> + 'a
pub fn get_by_summoner_id( &self, route: PlatformRoute, encrypted_summoner_id: &str, ) -> impl Future<Output = Result<Summoner>> + 'a
Auto Trait Implementations§
impl<'a> Freeze for SummonerV4<'a>
impl<'a> !RefUnwindSafe for SummonerV4<'a>
impl<'a> Send for SummonerV4<'a>
impl<'a> Sync for SummonerV4<'a>
impl<'a> Unpin for SummonerV4<'a>
impl<'a> !UnwindSafe for SummonerV4<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more