[][src]Struct riven::endpoints::ValContentV1

pub struct ValContentV1<'a> { /* fields omitted */ }

ValContentV1 endpoints handle, accessed by calling val_content_v1() on a RiotApi instance.

Riot Developer API Reference

val-content-v1

Note: this struct is automatically generated.

Implementations

impl<'a> ValContentV1<'a>[src]

pub fn get_content(
    &self,
    region: Region,
    locale: Option<&str>
) -> impl Future<Output = Result<Content>> + 'a
[src]

Get content optionally filtered by locale

Parameters

  • region - Region to query.
  • locale (optional)

Riot Developer API Reference

val-content-v1.getContent

Note: this method is automatically generated.

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.