pub struct AdvisorConfig {
pub run_after_migrate: bool,
pub disabled_rules: Vec<String>,
}Expand description
Configuration for the schema advisor.
Fields§
§run_after_migrate: boolWhether to run the advisor after migrations.
disabled_rules: Vec<String>List of rule IDs to disable (e.g., [“A003”, “A006”]).
Trait Implementations§
Source§impl Clone for AdvisorConfig
impl Clone for AdvisorConfig
Source§fn clone(&self) -> AdvisorConfig
fn clone(&self) -> AdvisorConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 AdvisorConfig
impl Debug for AdvisorConfig
Source§impl Default for AdvisorConfig
impl Default for AdvisorConfig
Source§fn default() -> AdvisorConfig
fn default() -> AdvisorConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AdvisorConfig
impl RefUnwindSafe for AdvisorConfig
impl Send for AdvisorConfig
impl Sync for AdvisorConfig
impl Unpin for AdvisorConfig
impl UnsafeUnpin for AdvisorConfig
impl UnwindSafe for AdvisorConfig
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