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<'a>>
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<'a>>
Trait Implementations§
Source§impl<T: GetWatchPlaylistQueryID> ParseFromContinuable<GetWatchPlaylistQuery<T>> for Vec<WatchPlaylistTrack>
impl<T: GetWatchPlaylistQueryID> ParseFromContinuable<GetWatchPlaylistQuery<T>> for Vec<WatchPlaylistTrack>
fn parse_from_continuable( p: ProcessedResult<'_, GetWatchPlaylistQuery<T>>, ) -> Result<(Self, Option<ContinuationParams<'static>>)>
fn parse_continuation( p: ProcessedResult<'_, GetContinuationsQuery<'_, GetWatchPlaylistQuery<T>>>, ) -> Result<(Self, Option<ContinuationParams<'static>>)>
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 = Vec<WatchPlaylistTrack>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more