[−][src]Struct riven::endpoints::SummonerV4
SummonerV4 endpoints handle, accessed by calling summoner_v4()
on a RiotApi
instance.
Riot Developer API Reference
Note: this struct is automatically generated.
Implementations
impl<'a> SummonerV4<'a>
[src]
pub fn get_by_account_id(
&self,
region: Region,
encrypted_account_id: &str
) -> impl Future<Output = Result<Summoner>> + 'a
[src]
&self,
region: Region,
encrypted_account_id: &str
) -> impl Future<Output = Result<Summoner>> + 'a
Get a summoner by account ID.
Parameters
region
- Region to query.encryptedAccountId
Riot Developer API Reference
Note: this method is automatically generated.
pub fn get_by_summoner_name(
&self,
region: Region,
summoner_name: &str
) -> impl Future<Output = Result<Option<Summoner>>> + 'a
[src]
&self,
region: Region,
summoner_name: &str
) -> impl Future<Output = Result<Option<Summoner>>> + 'a
Get a summoner by summoner name.
Parameters
region
- Region to query.summonerName
- Summoner Name
Riot Developer API Reference
Note: this method is automatically generated.
pub fn get_by_puuid(
&self,
region: Region,
encrypted_puuid: &str
) -> impl Future<Output = Result<Summoner>> + 'a
[src]
&self,
region: Region,
encrypted_puuid: &str
) -> impl Future<Output = Result<Summoner>> + 'a
Get a summoner by PUUID.
Parameters
region
- Region to query.encryptedPUUID
- Summoner ID
Riot Developer API Reference
Note: this method is automatically generated.
pub fn get_by_summoner_id(
&self,
region: Region,
encrypted_summoner_id: &str
) -> impl Future<Output = Result<Summoner>> + 'a
[src]
&self,
region: Region,
encrypted_summoner_id: &str
) -> impl Future<Output = Result<Summoner>> + 'a
Get a summoner by summoner ID.
Parameters
region
- Region to query.encryptedSummonerId
- Summoner ID
Riot Developer API Reference
Note: this method is automatically generated.
Auto Trait Implementations
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,