pub enum PersonOpt {
Show 13 variants
Credential {
commands: AccountCredential,
},
Radius {
commands: AccountRadius,
},
Posix {
commands: PersonPosix,
},
Session {
commands: AccountUserAuthToken,
},
Ssh {
commands: AccountSsh,
},
List(CommonOpt),
Get(AccountNamedOpt),
Search {
account_id: String,
copt: CommonOpt,
},
Update(PersonUpdateOpt),
Create(AccountCreateOpt),
Delete(AccountNamedOpt),
Validity {
commands: AccountValidity,
},
Certificate {
commands: AccountCertificate,
},
}Variants§
Credential
Manage the credentials this person uses for authentication
Fields
§
commands: AccountCredentialRadius
Manage radius access for this person
Fields
§
commands: AccountRadiusPosix
Manage posix extensions for this person allowing access to unix/linux systems
Fields
§
commands: PersonPosixSession
Manage sessions (user auth tokens) associated to this person.
Fields
§
commands: AccountUserAuthTokenSsh
Manage ssh public key’s associated to this person
Fields
§
commands: AccountSshList(CommonOpt)
List all persons
Get(AccountNamedOpt)
View a specific person
Search
Search persons by name
Update(PersonUpdateOpt)
Update a specific person’s attributes
Create(AccountCreateOpt)
Create a new person’s account
Delete(AccountNamedOpt)
Delete a person’s account
Validity
Manage a person’s account validity, such as expiry time (account lock/unlock)
Fields
§
commands: AccountValidityCertificate
Fields
§
commands: AccountCertificateImplementations§
Trait Implementations§
Source§impl FromArgMatches for PersonOpt
impl FromArgMatches for PersonOpt
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn 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>
Source§fn 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.Source§fn 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.Source§impl Subcommand for PersonOpt
impl Subcommand for PersonOpt
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Append to [
Command] so it can instantiate self via
[FromArgMatches::update_from_arg_matches_mut] Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for PersonOpt
impl RefUnwindSafe for PersonOpt
impl Send for PersonOpt
impl Sync for PersonOpt
impl Unpin for PersonOpt
impl UnwindSafe for PersonOpt
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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