[−][src]Struct riven::endpoints::SpectatorV4
SpectatorV4 endpoints handle, accessed by calling spectator_v4()
on a RiotApi
instance.
Riot Developer API Reference
Note: this struct is automatically generated.
Methods
impl<'a> SpectatorV4<'a>
[src]
pub fn get_current_game_info_by_summoner(
&self,
region: Region,
encrypted_summoner_id: &str
) -> impl Future<Output = Result<Option<CurrentGameInfo>>> + 'a
[src]
&self,
region: Region,
encrypted_summoner_id: &str
) -> impl Future<Output = Result<Option<CurrentGameInfo>>> + 'a
Get current game information for the given summoner ID.
Parameters
region
- Region to query.encryptedSummonerId
- The ID of the summoner.
Riot Developer API Reference
spectator-v4.getCurrentGameInfoBySummoner
Note: this method is automatically generated.
pub fn get_featured_games(
&self,
region: Region
) -> impl Future<Output = Result<FeaturedGames>> + 'a
[src]
&self,
region: Region
) -> impl Future<Output = Result<FeaturedGames>> + 'a
Get list of featured games.
Parameters
region
- Region to query.
Riot Developer API Reference
Note: this method is automatically generated.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for SpectatorV4<'a>
impl<'a> Send for SpectatorV4<'a>
impl<'a> Sync for SpectatorV4<'a>
impl<'a> Unpin for SpectatorV4<'a>
impl<'a> !UnwindSafe for SpectatorV4<'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,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[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.
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>,