pub enum Command {
Show 19 variants
Login(LoginArgs),
GetTimeline,
GetAuthorFeed(ActorArgs),
GetLikes(UriArgs),
GetRepostedBy(UriArgs),
GetActorFeeds(ActorArgs),
GetFeed(UriArgs),
GetListFeed(UriArgs),
GetFollows(ActorArgs),
GetFollowers(ActorArgs),
GetLists(ActorArgs),
GetList(UriArgs),
GetProfile(ActorArgs),
GetPreferences,
ListNotifications,
ListConvos,
SendConvoMessage(SendConvoMessageArgs),
CreatePost(CreatePostArgs),
DeletePost(UriArgs),
}Variants§
Login(LoginArgs)
Login (Create an authentication session).
GetTimeline
Get a view of an actor’s home timeline.
GetAuthorFeed(ActorArgs)
Get a view of an actor’s feed.
GetLikes(UriArgs)
Get a list of likes for a given post.
GetRepostedBy(UriArgs)
Get a list of reposts for a given post.
GetActorFeeds(ActorArgs)
Get a list of feeds created by an actor.
GetFeed(UriArgs)
Get a view of a hydrated feed.
GetListFeed(UriArgs)
Get a view of a specified list,
GetFollows(ActorArgs)
Get a list of who an actor follows.
GetFollowers(ActorArgs)
Get a list of an actor’s followers.
GetLists(ActorArgs)
Get a list of the list created by an actor.
GetList(UriArgs)
Get detailed info of a specified list.
GetProfile(ActorArgs)
Get detailed profile view of an actor.
GetPreferences
Get preferences of an actor.
ListNotifications
Get a list of notifications.
ListConvos
Get a list of chat conversations.
SendConvoMessage(SendConvoMessageArgs)
Send a message to a chat conversation.
CreatePost(CreatePostArgs)
Create a new post.
DeletePost(UriArgs)
Delete a post.
Trait Implementations§
Source§impl CommandFactory for Command
impl CommandFactory for Command
Source§impl FromArgMatches for Command
impl FromArgMatches for Command
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 Parser for Command
impl Parser for Command
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, exit on error.
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Parse from iterator, return Err on error.
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, exit on error.
Source§impl Subcommand for Command
impl Subcommand for Command
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
Source§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 Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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