pub struct Client<E> { /* private fields */ }
Expand description
HTTP client for TMDB
use tmdb_api::client::Client;
use tmdb_api::client::reqwest::ReqwestExecutor;
let client = Client::<ReqwestExecutor>::new("this-is-my-secret-token".into());
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<E> Freeze for Client<E>where
E: Freeze,
impl<E> RefUnwindSafe for Client<E>where
E: RefUnwindSafe,
impl<E> Send for Client<E>where
E: Send,
impl<E> Sync for Client<E>where
E: Sync,
impl<E> Unpin for Client<E>where
E: Unpin,
impl<E> UnwindSafe for Client<E>where
E: UnwindSafe,
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