Enum kanidmd::KanidmdOpt
source · [−]pub(crate) enum KanidmdOpt {
Server(CommonOpt),
ConfigTest(CommonOpt),
RecoverAccount(RecoverAccountOpt),
DbScan {
commands: DbScanOpt,
},
Database {
commands: DbCommands,
},
DomainSettings {
commands: DomainSettingsCmds,
},
HealthCheck(HealthCheckArgs),
Version(CommonOpt),
}
Variants
Server(CommonOpt)
Start the IDM Server
ConfigTest(CommonOpt)
Test the IDM Server configuration, without starting network listeners.
RecoverAccount(RecoverAccountOpt)
Recover an account’s password
DbScan
Fields
commands: DbScanOpt
Inspect the internal content of the database datastructures.
Database
Fields
commands: DbCommands
Database maintenance, backups, restoration etc.
DomainSettings
Fields
commands: DomainSettingsCmds
Change domain settings
HealthCheck(HealthCheckArgs)
Load the server config and check services are listening
Version(CommonOpt)
Print the program version and exit
Implementations
sourceimpl KanidmdOpt
impl KanidmdOpt
Trait Implementations
sourceimpl Debug for KanidmdOpt
impl Debug for KanidmdOpt
sourceimpl FromArgMatches for KanidmdOpt
impl FromArgMatches for KanidmdOpt
sourcefn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
sourcefn 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>
sourcefn 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
.sourcefn 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
.sourceimpl Subcommand for KanidmdOpt
impl Subcommand for KanidmdOpt
sourcefn augment_subcommands<'b>(__clap_app: Command<'b>) -> Command<'b>
fn augment_subcommands<'b>(__clap_app: Command<'b>) -> Command<'b>
sourcefn augment_subcommands_for_update<'b>(__clap_app: Command<'b>) -> Command<'b>
fn augment_subcommands_for_update<'b>(__clap_app: Command<'b>) -> Command<'b>
sourcefn 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 KanidmdOpt
impl Send for KanidmdOpt
impl Sync for KanidmdOpt
impl Unpin for KanidmdOpt
impl UnwindSafe for KanidmdOpt
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more