[−][src]Struct riven::endpoints::ClashV1
ClashV1 endpoints handle, accessed by calling clash_v1()
on a RiotApi
instance.
Riot Developer API Reference
Note: this struct is automatically generated.
Implementations
impl<'a> ClashV1<'a>
[src]
pub fn get_players_by_summoner(
&self,
region: Region,
summoner_id: &str
) -> impl Future<Output = Result<Vec<Player>>> + 'a
[src]
&self,
region: Region,
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
region
- Region to query.summonerId
Riot Developer API Reference
Note: this method is automatically generated.
pub fn get_team_by_id(
&self,
region: Region,
team_id: &str
) -> impl Future<Output = Result<Option<Team>>> + 'a
[src]
&self,
region: Region,
team_id: &str
) -> impl Future<Output = Result<Option<Team>>> + 'a
Get team by ID.
Parameters
region
- Region to query.teamId
Riot Developer API Reference
Note: this method is automatically generated.
pub fn get_tournaments(
&self,
region: Region
) -> impl Future<Output = Result<Vec<Tournament>>> + 'a
[src]
&self,
region: Region
) -> impl Future<Output = Result<Vec<Tournament>>> + 'a
Get all active or upcoming tournaments.
Parameters
region
- Region to query.
Riot Developer API Reference
Note: this method is automatically generated.
pub fn get_tournament_by_team(
&self,
region: Region,
team_id: &str
) -> impl Future<Output = Result<Option<Tournament>>> + 'a
[src]
&self,
region: Region,
team_id: &str
) -> impl Future<Output = Result<Option<Tournament>>> + 'a
Get tournament by team ID.
Parameters
region
- Region to query.teamId
Riot Developer API Reference
Note: this method is automatically generated.
pub fn get_tournament_by_id(
&self,
region: Region,
tournament_id: i32
) -> impl Future<Output = Result<Option<Tournament>>> + 'a
[src]
&self,
region: Region,
tournament_id: i32
) -> impl Future<Output = Result<Option<Tournament>>> + 'a
Get tournament by ID.
Parameters
region
- Region to query.tournamentId
Riot Developer API Reference
Note: this method is automatically generated.
Auto Trait Implementations
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
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>,
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<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,