Enum sea_orm_cli::cli::MigrateSubcommands
source · pub enum MigrateSubcommands {
Init,
Generate {
migration_name: String,
universal_time: bool,
local_time: bool,
},
Fresh,
Refresh,
Reset,
Status,
Up {
num: Option<u32>,
},
Down {
num: u32,
},
}
Variants§
Trait Implementations§
source§impl Debug for MigrateSubcommands
impl Debug for MigrateSubcommands
source§impl FromArgMatches for MigrateSubcommands
impl FromArgMatches for MigrateSubcommands
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 PartialEq for MigrateSubcommands
impl PartialEq for MigrateSubcommands
source§fn eq(&self, other: &MigrateSubcommands) -> bool
fn eq(&self, other: &MigrateSubcommands) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Subcommand for MigrateSubcommands
impl Subcommand for MigrateSubcommands
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
source§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Test whether
Self
can parse a specific subcommandimpl Eq for MigrateSubcommands
impl StructuralPartialEq for MigrateSubcommands
Auto Trait Implementations§
impl Freeze for MigrateSubcommands
impl RefUnwindSafe for MigrateSubcommands
impl Send for MigrateSubcommands
impl Sync for MigrateSubcommands
impl Unpin for MigrateSubcommands
impl UnwindSafe for MigrateSubcommands
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.