Enum kanidm_cli::KanidmClientOpt
source · [−]pub enum KanidmClientOpt {
Login(LoginOpt),
Logout(LogoutOpt),
Session {
commands: SessionOpt,
},
CSelf {
commands: SelfOpt,
},
Person {
commands: PersonOpt,
},
Group {
commands: GroupOpt,
},
ServiceAccount {
commands: ServiceAccountOpt,
},
System {
commands: SystemOpt,
},
Recycle {
commands: RecycleOpt,
},
Raw {
commands: RawOpt,
},
Version {},
}
Variants
Login(LoginOpt)
Login to an account to use with future cli operations
Logout(LogoutOpt)
Logout of an active cli session
Session
Fields
commands: SessionOpt
Manage active cli sessions
CSelf
Fields
commands: SelfOpt
Actions for the current authenticated account
Person
Fields
commands: PersonOpt
Actions to manage and view person (user) accounts
Group
Fields
commands: GroupOpt
Actions to manage groups
ServiceAccount
Fields
commands: ServiceAccountOpt
Actions to manage and view service accounts
System
Fields
commands: SystemOpt
System configuration operations
Recycle
Fields
commands: RecycleOpt
Recycle Bin operations
Raw
Fields
commands: RawOpt
Unsafe - low level, raw database queries and operations.
Version
Fields
Print the program version and exit
Implementations
Trait Implementations
sourceimpl Debug for KanidmClientOpt
impl Debug for KanidmClientOpt
sourceimpl FromArgMatches for KanidmClientOpt
impl FromArgMatches for KanidmClientOpt
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 KanidmClientOpt
impl Subcommand for KanidmClientOpt
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 KanidmClientOpt
impl Send for KanidmClientOpt
impl Sync for KanidmClientOpt
impl Unpin for KanidmClientOpt
impl UnwindSafe for KanidmClientOpt
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