pub enum SchemaCommand {
Show 19 variants
Map(MapArgs),
Databases,
Tables(TablesArgs),
Columns(DetailedTableArgs),
Keys(AdvisableTableArgs),
Indexes(AdvisableTableArgs),
Checks(DetailedTableArgs),
Views(ViewsArgs),
Routines(ScopeArgs),
Triggers(ScopeArgs),
Events(ScopeArgs),
Sequences(ScopeArgs),
Partitions(DetailedTableArgs),
Search(SearchArgs),
Stats(DetailedTableArgs),
Ddl(DdlArgs),
Count(TableArgs),
Size(SizeArgs),
Grants,
}Expand description
The nineteen structure commands.
Variants§
Map(MapArgs)
Compact map of the whole database.
Databases
List databases.
Tables(TablesArgs)
List tables.
Columns(DetailedTableArgs)
Describe the columns of a table.
Keys(AdvisableTableArgs)
List foreign keys, optionally flagging those without a supporting index.
Indexes(AdvisableTableArgs)
List indexes, optionally flagging those already covered by another.
Checks(DetailedTableArgs)
List the value restrictions a table imposes, with each condition.
Views(ViewsArgs)
List views, with a cut for the materialised ones.
Routines(ScopeArgs)
List routines and functions.
Triggers(ScopeArgs)
List triggers.
Events(ScopeArgs)
List scheduled events.
Sequences(ScopeArgs)
List sequences.
Partitions(DetailedTableArgs)
List partitions.
Search(SearchArgs)
Find an object by name pattern.
Stats(DetailedTableArgs)
Table statistics.
Ddl(DdlArgs)
Textual, re-creatable definition of an object.
Count(TableArgs)
Exact row count, on demand.
Size(SizeArgs)
Space per database and ranking of the largest objects.
Grants
Effective permissions of the connected user.
Implementations§
Source§impl SchemaCommand
impl SchemaCommand
Sourcepub const fn published_name(&self) -> &'static str
pub const fn published_name(&self) -> &'static str
The published name of this structure command.
Trait Implementations§
Source§impl Clone for SchemaCommand
impl Clone for SchemaCommand
Source§impl Debug for SchemaCommand
impl Debug for SchemaCommand
Source§impl FromArgMatches for SchemaCommand
impl FromArgMatches for SchemaCommand
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 SchemaCommand
impl Subcommand for SchemaCommand
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 SchemaCommand
impl RefUnwindSafe for SchemaCommand
impl Send for SchemaCommand
impl Sync for SchemaCommand
impl Unpin for SchemaCommand
impl UnsafeUnpin for SchemaCommand
impl UnwindSafe for SchemaCommand
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