pub struct LorDeckV1<'a> { /* private fields */ }
Expand description
LorDeckV1 endpoints handle, accessed by calling lor_deck_v1()
on a RiotApi
instance.
§Riot Developer API Reference
Note: this struct is automatically generated.
Implementations§
source§impl<'a> LorDeckV1<'a>
impl<'a> LorDeckV1<'a>
sourcepub fn get_decks(
&self,
route: RegionalRoute,
access_token: impl Display,
) -> impl Future<Output = Result<Vec<Deck>>> + 'a
pub fn get_decks( &self, route: RegionalRoute, access_token: impl Display, ) -> impl Future<Output = Result<Vec<Deck>>> + 'a
Get a list of the calling user’s decks.
§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.
sourcepub fn create_deck(
&self,
route: RegionalRoute,
access_token: impl Display,
body: &NewDeck,
) -> impl Future<Output = Result<String>> + 'a
pub fn create_deck( &self, route: RegionalRoute, access_token: impl Display, body: &NewDeck, ) -> impl Future<Output = Result<String>> + 'a
Create a new deck for 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 LorDeckV1<'a>
impl<'a> !RefUnwindSafe for LorDeckV1<'a>
impl<'a> Send for LorDeckV1<'a>
impl<'a> Sync for LorDeckV1<'a>
impl<'a> Unpin for LorDeckV1<'a>
impl<'a> !UnwindSafe for LorDeckV1<'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