Enum kanidm_cli::GroupOpt
source · [−]pub enum GroupOpt {
List(CommonOpt),
Get(Named),
Create(Named),
Delete(Named),
ListMembers(Named),
SetMembers(GroupNamedMembers),
PurgeMembers(Named),
AddMembers(GroupNamedMembers),
RemoveMembers(GroupNamedMembers),
Posix {
commands: GroupPosix,
},
}
Variants
List(CommonOpt)
List all groups
Get(Named)
View a specific group
Create(Named)
Create a new group
Delete(Named)
Delete a group
ListMembers(Named)
List the members of a group
SetMembers(GroupNamedMembers)
Set the exact list of members that this group should contain, removing any not listed in the set operation.
PurgeMembers(Named)
Delete all members of a group.
AddMembers(GroupNamedMembers)
Add new members to a group
RemoveMembers(GroupNamedMembers)
Remove the named members from this group
Posix
Fields
commands: GroupPosix
Manage posix extensions for this group allowing groups to be used on unix/linux systems
Implementations
Trait Implementations
sourceimpl FromArgMatches for GroupOpt
impl FromArgMatches for GroupOpt
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 GroupOpt
impl Subcommand for GroupOpt
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 GroupOpt
impl Send for GroupOpt
impl Sync for GroupOpt
impl Unpin for GroupOpt
impl UnwindSafe for GroupOpt
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