[−][src]Struct twitch_rs::TwitchApi
Methods
impl TwitchApi
[src]
pub fn new(client_id: String) -> Result<TwitchApi, Box<dyn Error>>
[src]
pub async fn top_games<'_>(
&'_ self,
first: i32,
after: Option<String>,
before: Option<String>
) -> Result<HelixPaginatedResponse<TwitchGame>, Box<dyn Error>>
[src]
&'_ self,
first: i32,
after: Option<String>,
before: Option<String>
) -> Result<HelixPaginatedResponse<TwitchGame>, Box<dyn Error>>
pub async fn games<'_, '_>(
&'_ self,
game_ids: &'_ Vec<String>
) -> Result<HelixResponse<TwitchGame>, Box<dyn Error>>
[src]
&'_ self,
game_ids: &'_ Vec<String>
) -> Result<HelixResponse<TwitchGame>, Box<dyn Error>>
Auto Trait Implementations
impl !RefUnwindSafe for TwitchApi
impl Send for TwitchApi
impl Sync for TwitchApi
impl Unpin for TwitchApi
impl !UnwindSafe for TwitchApi
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,