pub enum PlaylistsAction {
List(PlaylistsListArgs),
Show(PlaylistsShowArgs),
Create(PlaylistsCreateArgs),
Rename(PlaylistsRenameArgs),
Delete(PlaylistsDeleteArgs),
Add(PlaylistsAddArgs),
Remove(PlaylistsRemoveArgs),
}Variants§
List(PlaylistsListArgs)
List the authenticated user’s playlists.
Show(PlaylistsShowArgs)
Show one playlist’s metadata and items.
Create(PlaylistsCreateArgs)
Create a new playlist owned by the authenticated user.
Rename(PlaylistsRenameArgs)
Rename an existing playlist.
Delete(PlaylistsDeleteArgs)
Delete a playlist owned by the user.
Add(PlaylistsAddArgs)
Add one or more videos to a playlist.
Remove(PlaylistsRemoveArgs)
Remove one or more items from a playlist (by playlistItem ID or by video ID — the latter is resolved by listing the playlist first).
Trait Implementations§
Source§impl Debug for PlaylistsAction
impl Debug for PlaylistsAction
Source§impl FromArgMatches for PlaylistsAction
impl FromArgMatches for PlaylistsAction
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§impl Subcommand for PlaylistsAction
impl Subcommand for PlaylistsAction
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for PlaylistsAction
impl RefUnwindSafe for PlaylistsAction
impl Send for PlaylistsAction
impl Sync for PlaylistsAction
impl Unpin for PlaylistsAction
impl UnsafeUnpin for PlaylistsAction
impl UnwindSafe for PlaylistsAction
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