pub struct DoctorCommand {
pub driver: Option<String>,
pub node: Option<String>,
pub select: bool,
pub composite_node_spec: Option<String>,
}Fields§
§driver: Option<String>URL or a substring of the URL of the driver to diagnose. The command will fail if multiple drivers match.
node: Option<String>moniker of the node to diagnose.
select: boolif this exists, the user will be prompted for a component to select.
composite_node_spec: Option<String>name of the composite node spec to diagnose.
Trait Implementations§
Source§impl ArgsInfo for DoctorCommand
impl ArgsInfo for DoctorCommand
Source§fn get_args_info() -> CommandInfoWithArgs
fn get_args_info() -> CommandInfoWithArgs
Returns the argument info.
Source§fn get_subcommands() -> Vec<SubCommandInfo<'static>>
fn get_subcommands() -> Vec<SubCommandInfo<'static>>
Returns the list of subcommands
Source§impl Debug for DoctorCommand
impl Debug for DoctorCommand
Source§impl FromArgs for DoctorCommand
impl FromArgs for DoctorCommand
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 DoctorCommand
impl PartialEq for DoctorCommand
Source§impl SubCommand for DoctorCommand
impl SubCommand for DoctorCommand
Source§const COMMAND: &'static CommandInfo
const COMMAND: &'static CommandInfo
Information about the subcommand.
impl StructuralPartialEq for DoctorCommand
Auto Trait Implementations§
impl Freeze for DoctorCommand
impl RefUnwindSafe for DoctorCommand
impl Send for DoctorCommand
impl Sync for DoctorCommand
impl Unpin for DoctorCommand
impl UnwindSafe for DoctorCommand
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more