Enum atrium_cli::commands::Command
source · pub enum Command {
Show 16 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),
ListNotifications,
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.
ListNotifications
Get a list of notifications.
CreatePost(CreatePostArgs)
Create a new post.
DeletePost(UriArgs)
Delete a post.
Trait Implementations§
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
§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Parse from iterator, [exit][Error::exit] on error.
§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.
§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Update from iterator, [exit][Error::exit] on error.
§fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
fn try_update_from<I, T>(&mut self, itr: I) -> Result<(), Error>
Update from iterator, return Err 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 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