pub struct AddPlaylistItemsQuery<'a, T: SpecialisedQuery> { /* private fields */ }Implementations§
Source§impl<'a> AddPlaylistItemsQuery<'a, AddPlaylistToPlaylist<'a>>
impl<'a> AddPlaylistItemsQuery<'a, AddPlaylistToPlaylist<'a>>
pub fn new_from_playlist( id: PlaylistID<'a>, source_playlist: PlaylistID<'a>, ) -> Self
Source§impl<'a> AddPlaylistItemsQuery<'a, AddVideosToPlaylist<'a>>
impl<'a> AddPlaylistItemsQuery<'a, AddVideosToPlaylist<'a>>
pub fn new_from_videos( id: PlaylistID<'a>, video_ids: impl IntoIterator<Item = VideoID<'a>>, duplicate_handling_mode: DuplicateHandlingMode, ) -> Self
Trait Implementations§
Source§impl<'a, T: SpecialisedQuery> ParseFrom<AddPlaylistItemsQuery<'a, T>> for Vec<AddPlaylistItem>
impl<'a, T: SpecialisedQuery> ParseFrom<AddPlaylistItemsQuery<'a, T>> for Vec<AddPlaylistItem>
fn parse_from( p: ProcessedResult<'_, AddPlaylistItemsQuery<'a, T>>, ) -> Result<Self>
Source§impl<T: SpecialisedQuery> PostQuery for AddPlaylistItemsQuery<'_, T>
impl<T: SpecialisedQuery> PostQuery for AddPlaylistItemsQuery<'_, T>
Source§impl<A: AuthToken, T: SpecialisedQuery> Query<A> for AddPlaylistItemsQuery<'_, T>
impl<A: AuthToken, T: SpecialisedQuery> Query<A> for AddPlaylistItemsQuery<'_, T>
type Output = Vec<AddPlaylistItem>
type Method = PostMethod
Auto Trait Implementations§
impl<'a, T> Freeze for AddPlaylistItemsQuery<'a, T>where
T: Freeze,
impl<'a, T> RefUnwindSafe for AddPlaylistItemsQuery<'a, T>where
T: RefUnwindSafe,
impl<'a, T> Send for AddPlaylistItemsQuery<'a, T>where
T: Send,
impl<'a, T> Sync for AddPlaylistItemsQuery<'a, T>where
T: Sync,
impl<'a, T> Unpin for AddPlaylistItemsQuery<'a, T>where
T: Unpin,
impl<'a, T> UnwindSafe for AddPlaylistItemsQuery<'a, 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