Enum sea_orm_cli::cli::MigrateSubcommands
source · pub enum MigrateSubcommands {
Init,
Generate {
migration_name: String,
universal_time: bool,
},
Fresh,
Refresh,
Reset,
Status,
Up {
num: Option<u32>,
},
Down {
num: u32,
},
}
Variants
Trait Implementations
sourceimpl Debug for MigrateSubcommands
impl Debug for MigrateSubcommands
sourceimpl FromArgMatches for MigrateSubcommands
impl FromArgMatches for MigrateSubcommands
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 PartialEq<MigrateSubcommands> for MigrateSubcommands
impl PartialEq<MigrateSubcommands> for MigrateSubcommands
sourcefn eq(&self, other: &MigrateSubcommands) -> bool
fn eq(&self, other: &MigrateSubcommands) -> bool
sourceimpl Subcommand for MigrateSubcommands
impl Subcommand for MigrateSubcommands
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 subcommandimpl Eq for MigrateSubcommands
impl StructuralEq for MigrateSubcommands
impl StructuralPartialEq for MigrateSubcommands
Auto Trait Implementations
impl RefUnwindSafe for MigrateSubcommands
impl Send for MigrateSubcommands
impl Sync for MigrateSubcommands
impl Unpin for MigrateSubcommands
impl UnwindSafe for MigrateSubcommands
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
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.