pub struct LolStatusV4<'a> { /* private fields */ }Expand description
LolStatusV4 endpoints handle, accessed by calling lol_status_v4() on a RiotApi instance.
§Riot Developer API Reference
Note: this struct is automatically generated.
Implementations§
Source§impl<'a> LolStatusV4<'a>
impl<'a> LolStatusV4<'a>
Sourcepub fn get_platform_data(
&self,
route: PlatformRoute,
) -> impl Future<Output = Result<PlatformData>> + 'a
pub fn get_platform_data( &self, route: PlatformRoute, ) -> impl Future<Output = Result<PlatformData>> + 'a
Sourcepub fn try_get_platform_data(
&self,
min_capacity: f32,
route: PlatformRoute,
) -> impl Future<Output = TryRequestResult<PlatformData>> + 'a
pub fn try_get_platform_data( &self, min_capacity: f32, route: PlatformRoute, ) -> impl Future<Output = TryRequestResult<PlatformData>> + 'a
Variation that checks for minimum capacity before making the request, returning None if insufficent capacity
See get_platform_data for detailed documentation
§Parameters
min_capacity- Minimum capacity required as a float from 1.0 (all capacity) to 0.0 (no capacity) excluding burstroute- Route to query.
§Riot Developer API Reference
Note: this method is automatically generated.
Auto Trait Implementations§
impl<'a> Freeze for LolStatusV4<'a>
impl<'a> !RefUnwindSafe for LolStatusV4<'a>
impl<'a> Send for LolStatusV4<'a>
impl<'a> Sync for LolStatusV4<'a>
impl<'a> Unpin for LolStatusV4<'a>
impl<'a> UnsafeUnpin for LolStatusV4<'a>
impl<'a> !UnwindSafe for LolStatusV4<'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