pub enum AdminCommand {
Domain(DomainArgs),
Org(OrganizationArgs),
Team(TeamArgs),
Settings(SettingsArgs),
AttachmentSettings(AttachmentSettingsArgs),
}Variants§
Domain(DomainArgs)
Report primary-email domains and user counts (site admin).
Org(OrganizationArgs)
List organizations and configure their feature flags (site admin).
Team(TeamArgs)
List teams and configure their feature flags (site admin).
Settings(SettingsArgs)
Read or update the global REST settings allowlist (site admin).
AttachmentSettings(AttachmentSettingsArgs)
Configure attachment backends, restrictions, and migration settings (site admin).
Trait Implementations§
Source§impl Debug for AdminCommand
impl Debug for AdminCommand
Source§impl FromArgMatches for AdminCommand
impl FromArgMatches for AdminCommand
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 AdminCommand
impl Subcommand for AdminCommand
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 AdminCommand
impl RefUnwindSafe for AdminCommand
impl Send for AdminCommand
impl Sync for AdminCommand
impl Unpin for AdminCommand
impl UnsafeUnpin for AdminCommand
impl UnwindSafe for AdminCommand
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