Struct riven::endpoints::ValContentV1
source · pub struct ValContentV1<'a> { /* private fields */ }
Expand description
ValContentV1 endpoints handle, accessed by calling val_content_v1()
on a RiotApi
instance.
§Riot Developer API Reference
Note: this struct is automatically generated.
Implementations§
source§impl<'a> ValContentV1<'a>
impl<'a> ValContentV1<'a>
sourcepub fn get_content(
&self,
route: ValPlatformRoute,
locale: Option<&str>,
) -> impl Future<Output = Result<Content>> + 'a
pub fn get_content( &self, route: ValPlatformRoute, locale: Option<&str>, ) -> impl Future<Output = Result<Content>> + 'a
Auto Trait Implementations§
impl<'a> Freeze for ValContentV1<'a>
impl<'a> !RefUnwindSafe for ValContentV1<'a>
impl<'a> Send for ValContentV1<'a>
impl<'a> Sync for ValContentV1<'a>
impl<'a> Unpin for ValContentV1<'a>
impl<'a> !UnwindSafe for ValContentV1<'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