[−][src]Struct riven::SummonerV4
SummonerV4 endpoints. This struct is automatically generated.
Official API Reference
Methods
impl<'a> SummonerV4<'a>
[src]
pub fn get_by_account_id(
&self,
region: Region,
encrypted_account_id: &str
) -> impl Future<Output = Result<Option<Summoner>, Error>> + 'a
[src]
&self,
region: Region,
encrypted_account_id: &str
) -> impl Future<Output = Result<Option<Summoner>, Error>> + 'a
Get a summoner by account ID.
Official API Reference
https://developer.riotgames.com/api-methods/#summoner-v4/GET_getByAccountId
Parameters
region
- Region to query.encryptedAccountId
pub fn get_by_summoner_name(
&self,
region: Region,
summoner_name: &str
) -> impl Future<Output = Result<Option<Summoner>, Error>> + 'a
[src]
&self,
region: Region,
summoner_name: &str
) -> impl Future<Output = Result<Option<Summoner>, Error>> + 'a
Get a summoner by summoner name.
Official API Reference
https://developer.riotgames.com/api-methods/#summoner-v4/GET_getBySummonerName
Parameters
region
- Region to query.summonerName
- Summoner Name
pub fn get_by_puuid(
&self,
region: Region,
encrypted_puuid: &str
) -> impl Future<Output = Result<Option<Summoner>, Error>> + 'a
[src]
&self,
region: Region,
encrypted_puuid: &str
) -> impl Future<Output = Result<Option<Summoner>, Error>> + 'a
Get a summoner by PUUID.
Official API Reference
https://developer.riotgames.com/api-methods/#summoner-v4/GET_getByPUUID
Parameters
region
- Region to query.encryptedPUUID
- Summoner ID
pub fn get_by_summoner_id(
&self,
region: Region,
encrypted_summoner_id: &str
) -> impl Future<Output = Result<Option<Summoner>, Error>> + 'a
[src]
&self,
region: Region,
encrypted_summoner_id: &str
) -> impl Future<Output = Result<Option<Summoner>, Error>> + 'a
Get a summoner by summoner ID.
Official API Reference
https://developer.riotgames.com/api-methods/#summoner-v4/GET_getBySummonerId
Parameters
region
- Region to query.encryptedSummonerId
- Summoner ID
Auto Trait Implementations
impl<'a> Send for SummonerV4<'a>
impl<'a> Sync for SummonerV4<'a>
impl<'a> Unpin for SummonerV4<'a>
impl<'a> !UnwindSafe for SummonerV4<'a>
impl<'a> !RefUnwindSafe for SummonerV4<'a>
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,