Struct riven::endpoints::LorInventoryV1
source · pub struct LorInventoryV1<'a> { /* private fields */ }
Expand description
LorInventoryV1 endpoints handle, accessed by calling lor_inventory_v1()
on a RiotApi
instance.
§Riot Developer API Reference
Note: this struct is automatically generated.
Implementations§
source§impl<'a> LorInventoryV1<'a>
impl<'a> LorInventoryV1<'a>
sourcepub fn get_cards(
&self,
route: RegionalRoute,
access_token: impl Display,
) -> impl Future<Output = Result<Vec<Card>>> + 'a
pub fn get_cards( &self, route: RegionalRoute, access_token: impl Display, ) -> impl Future<Output = Result<Vec<Card>>> + 'a
Return a list of cards owned by the calling user.
§Parameters
route
- Route to query.access_token
- RSO access token.
§RSO
This endpoint uses Riot Sign On
via the access_token
parameter, instead of the Riot API key.
§Riot Developer API Reference
Note: this method is automatically generated.
Auto Trait Implementations§
impl<'a> Freeze for LorInventoryV1<'a>
impl<'a> !RefUnwindSafe for LorInventoryV1<'a>
impl<'a> Send for LorInventoryV1<'a>
impl<'a> Sync for LorInventoryV1<'a>
impl<'a> Unpin for LorInventoryV1<'a>
impl<'a> !UnwindSafe for LorInventoryV1<'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