Struct ytmapi_rs::query::watch::GetWatchPlaylistQuery
source · pub struct GetWatchPlaylistQuery<T: GetWatchPlaylistQueryID> { /* private fields */ }Implementations§
source§impl<'a> GetWatchPlaylistQuery<VideoID<'a>>
impl<'a> GetWatchPlaylistQuery<VideoID<'a>>
pub fn new_from_video_id<T: Into<VideoID<'a>>>( id: T, ) -> GetWatchPlaylistQuery<VideoID<'a>>
pub fn with_playlist_id( self, playlist_id: PlaylistID<'a>, ) -> GetWatchPlaylistQuery<VideoAndPlaylistID<'_>>
source§impl<'a> GetWatchPlaylistQuery<PlaylistID<'a>>
impl<'a> GetWatchPlaylistQuery<PlaylistID<'a>>
pub fn new_from_playlist_id( id: PlaylistID<'a>, ) -> GetWatchPlaylistQuery<PlaylistID<'a>>
pub fn with_video_id( self, video_id: VideoID<'a>, ) -> GetWatchPlaylistQuery<VideoAndPlaylistID<'_>>
Trait Implementations§
source§impl<T: GetWatchPlaylistQueryID> ParseFrom<GetWatchPlaylistQuery<T>> for WatchPlaylist
impl<T: GetWatchPlaylistQueryID> ParseFrom<GetWatchPlaylistQuery<T>> for WatchPlaylist
fn parse_from(p: ProcessedResult<'_, GetWatchPlaylistQuery<T>>) -> Result<Self>
source§impl<T: GetWatchPlaylistQueryID> PostQuery for GetWatchPlaylistQuery<T>
impl<T: GetWatchPlaylistQueryID> PostQuery for GetWatchPlaylistQuery<T>
source§impl<T: GetWatchPlaylistQueryID, A: AuthToken> Query<A> for GetWatchPlaylistQuery<T>
impl<T: GetWatchPlaylistQueryID, A: AuthToken> Query<A> for GetWatchPlaylistQuery<T>
type Output = WatchPlaylist
type Method = PostMethod
Auto Trait Implementations§
impl<T> Freeze for GetWatchPlaylistQuery<T>where
T: Freeze,
impl<T> RefUnwindSafe for GetWatchPlaylistQuery<T>where
T: RefUnwindSafe,
impl<T> Send for GetWatchPlaylistQuery<T>where
T: Send,
impl<T> Sync for GetWatchPlaylistQuery<T>where
T: Sync,
impl<T> Unpin for GetWatchPlaylistQuery<T>where
T: Unpin,
impl<T> UnwindSafe for GetWatchPlaylistQuery<T>where
T: 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