Struct starry::CheckCommand
source · pub struct CheckCommand {
pub name: String,
}
Expand description
check the existence of a user
Fields§
§name: String
Trait Implementations§
source§impl Debug for CheckCommand
impl Debug for CheckCommand
source§impl FromArgs for CheckCommand
impl FromArgs for CheckCommand
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 CheckCommand
impl PartialEq for CheckCommand
source§fn eq(&self, other: &CheckCommand) -> bool
fn eq(&self, other: &CheckCommand) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SubCommand for CheckCommand
impl SubCommand for CheckCommand
source§const COMMAND: &'static CommandInfo = _
const COMMAND: &'static CommandInfo = _
Information about the subcommand.
impl StructuralPartialEq for CheckCommand
Auto Trait Implementations§
impl Freeze for CheckCommand
impl RefUnwindSafe for CheckCommand
impl Send for CheckCommand
impl Sync for CheckCommand
impl Unpin for CheckCommand
impl UnwindSafe for CheckCommand
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.