Struct riven::endpoints::ValRankedV1
source · pub struct ValRankedV1<'a> { /* private fields */ }
Expand description
ValRankedV1 endpoints handle, accessed by calling val_ranked_v1()
on a RiotApi
instance.
§Riot Developer API Reference
Note: this struct is automatically generated.
Implementations§
source§impl<'a> ValRankedV1<'a>
impl<'a> ValRankedV1<'a>
sourcepub fn get_leaderboard(
&self,
route: ValPlatformRoute,
act_id: &str,
size: Option<i32>,
start_index: Option<i32>,
) -> impl Future<Output = Result<Option<Leaderboard>>> + 'a
pub fn get_leaderboard( &self, route: ValPlatformRoute, act_id: &str, size: Option<i32>, start_index: Option<i32>, ) -> impl Future<Output = Result<Option<Leaderboard>>> + 'a
Get leaderboard for the competitive queue
§Parameters
route
- Route to query.act_id
(required, in path) - Act ids can be found using the val-content API.size
(optional, in query) - Defaults to 200. Valid values: 1 to 200.start_index
(optional, in query) - Defaults to 0.
§Riot Developer API Reference
Note: this method is automatically generated.
Auto Trait Implementations§
impl<'a> Freeze for ValRankedV1<'a>
impl<'a> !RefUnwindSafe for ValRankedV1<'a>
impl<'a> Send for ValRankedV1<'a>
impl<'a> Sync for ValRankedV1<'a>
impl<'a> Unpin for ValRankedV1<'a>
impl<'a> !UnwindSafe for ValRankedV1<'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