Struct starry::FollowCommand
source · pub struct FollowCommand {
pub name: String,
}
Expand description
start following a github user
Fields§
§name: String
Trait Implementations§
source§impl Debug for FollowCommand
impl Debug for FollowCommand
source§impl FromArgs for FollowCommand
impl FromArgs for FollowCommand
source§fn from_args(__cmd_name: &[&str], __args: &[&str]) -> Result<Self, EarlyExit>
fn from_args(__cmd_name: &[&str], __args: &[&str]) -> Result<Self, EarlyExit>
Construct the type from an input set of arguments. Read more
source§fn redact_arg_values(
__cmd_name: &[&str],
__args: &[&str]
) -> Result<Vec<String>, EarlyExit>
fn redact_arg_values( __cmd_name: &[&str], __args: &[&str] ) -> Result<Vec<String>, EarlyExit>
Get a String with just the argument names, e.g., options, flags, subcommands, etc, but
without the values of the options and arguments. This can be useful as a means to capture
anonymous usage statistics without revealing the content entered by the end user. Read more
source§impl PartialEq for FollowCommand
impl PartialEq for FollowCommand
source§fn eq(&self, other: &FollowCommand) -> bool
fn eq(&self, other: &FollowCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SubCommand for FollowCommand
impl SubCommand for FollowCommand
source§const COMMAND: &'static CommandInfo = _
const COMMAND: &'static CommandInfo = _
Information about the subcommand.
impl StructuralPartialEq for FollowCommand
Auto Trait Implementations§
impl Freeze for FollowCommand
impl RefUnwindSafe for FollowCommand
impl Send for FollowCommand
impl Sync for FollowCommand
impl Unpin for FollowCommand
impl UnwindSafe for FollowCommand
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> Pointable for T
impl<T> Pointable for T
source§impl<T> SubCommands for Twhere
T: SubCommand,
impl<T> SubCommands for Twhere
T: SubCommand,
source§const COMMANDS: &'static [&'static CommandInfo<'static>] = _
const COMMANDS: &'static [&'static CommandInfo<'static>] = _
Info for the commands.
source§fn dynamic_commands() -> &'static [&'static CommandInfo<'static>]
fn dynamic_commands() -> &'static [&'static CommandInfo<'static>]
Get a list of commands that are discovered at runtime.