pub struct UserWatchlist { /* private fields */ }Implementations§
Source§impl UserWatchlist
impl UserWatchlist
pub fn new(username: &str) -> Self
pub async fn get_watchlist(&self) -> Result<HashMap<String, Value>>
pub async fn get_watchlist_movies( &self, ) -> Result<HashMap<String, WatchlistMovie>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UserWatchlist
impl RefUnwindSafe for UserWatchlist
impl Send for UserWatchlist
impl Sync for UserWatchlist
impl Unpin for UserWatchlist
impl UnsafeUnpin for UserWatchlist
impl UnwindSafe for UserWatchlist
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