pub struct ClashV1<'a> { /* private fields */ }
Expand description
ClashV1 endpoints handle, accessed by calling clash_v1()
on a RiotApi
instance.
§Riot Developer API Reference
Note: this struct is automatically generated.
Implementations§
source§impl<'a> ClashV1<'a>
impl<'a> ClashV1<'a>
sourcepub fn get_players_by_summoner(
&self,
route: PlatformRoute,
summoner_id: &str,
) -> impl Future<Output = Result<Vec<Player>>> + 'a
pub fn get_players_by_summoner( &self, route: PlatformRoute, summoner_id: &str, ) -> impl Future<Output = Result<Vec<Player>>> + 'a
Get players by summoner ID.
§Implementation Notes
This endpoint returns a list of active Clash players for a given summoner ID. If a summoner registers for multiple tournaments at the same time (e.g., Saturday and Sunday) then both registrations would appear in this list.
§Parameters
route
- Route to query.summoner_id
(required, in path)
§Riot Developer API Reference
Note: this method is automatically generated.
sourcepub fn get_team_by_id(
&self,
route: PlatformRoute,
team_id: &str,
) -> impl Future<Output = Result<Option<Team>>> + 'a
pub fn get_team_by_id( &self, route: PlatformRoute, team_id: &str, ) -> impl Future<Output = Result<Option<Team>>> + 'a
sourcepub fn get_tournaments(
&self,
route: PlatformRoute,
) -> impl Future<Output = Result<Vec<Tournament>>> + 'a
pub fn get_tournaments( &self, route: PlatformRoute, ) -> impl Future<Output = Result<Vec<Tournament>>> + 'a
sourcepub fn get_tournament_by_team(
&self,
route: PlatformRoute,
team_id: &str,
) -> impl Future<Output = Result<Option<Tournament>>> + 'a
pub fn get_tournament_by_team( &self, route: PlatformRoute, team_id: &str, ) -> impl Future<Output = Result<Option<Tournament>>> + 'a
sourcepub fn get_tournament_by_id(
&self,
route: PlatformRoute,
tournament_id: i32,
) -> impl Future<Output = Result<Option<Tournament>>> + 'a
pub fn get_tournament_by_id( &self, route: PlatformRoute, tournament_id: i32, ) -> impl Future<Output = Result<Option<Tournament>>> + 'a
Auto Trait Implementations§
impl<'a> Freeze for ClashV1<'a>
impl<'a> !RefUnwindSafe for ClashV1<'a>
impl<'a> Send for ClashV1<'a>
impl<'a> Sync for ClashV1<'a>
impl<'a> Unpin for ClashV1<'a>
impl<'a> !UnwindSafe for ClashV1<'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