pub struct IntrospectOptions {
pub init_metadata: bool,
pub casing: Option<IntrospectCasing>,
pub out: Option<PathBuf>,
pub breakpoints: Option<bool>,
pub dialect: Option<Dialect>,
pub filters: FilterArgs,
pub connection: ConnectionOverrides,
}Fields§
§init_metadata: boolInitialize migration metadata after introspecting
casing: Option<IntrospectCasing>Casing for introspected identifiers (camel or preserve)
out: Option<PathBuf>Override output directory
breakpoints: Option<bool>Override breakpoints setting
dialect: Option<Dialect>Override dialect from config
filters: FilterArgs§connection: ConnectionOverridesTrait Implementations§
Source§impl Args for IntrospectOptions
impl Args for IntrospectOptions
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for IntrospectOptions
impl Clone for IntrospectOptions
Source§fn clone(&self) -> IntrospectOptions
fn clone(&self) -> IntrospectOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IntrospectOptions
impl Debug for IntrospectOptions
Source§impl FromArgMatches for IntrospectOptions
impl FromArgMatches for IntrospectOptions
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for IntrospectOptions
impl RefUnwindSafe for IntrospectOptions
impl Send for IntrospectOptions
impl Sync for IntrospectOptions
impl Unpin for IntrospectOptions
impl UnsafeUnpin for IntrospectOptions
impl UnwindSafe for IntrospectOptions
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