pub struct RunnerConfig<'a> {
pub migrations_folder: Cow<'a, Path>,
pub migrations_table: Cow<'a, str>,
pub ignore_checksum: bool,
pub ignore_order: bool,
}Fields§
§migrations_folder: Cow<'a, Path>§migrations_table: Cow<'a, str>§ignore_checksum: bool§ignore_order: boolImplementations§
Source§impl<'a> RunnerConfig<'a>
impl<'a> RunnerConfig<'a>
pub fn with_migrations_folder( self, migrations_folder: impl Into<Cow<'a, Path>>, ) -> Self
pub fn with_migrations_table( self, migrations_table: impl Into<Cow<'a, str>>, ) -> Self
pub const fn with_ignore_checksum(self, ignore_checksum: bool) -> Self
pub const fn with_ignore_order(self, ignore_order: bool) -> Self
Trait Implementations§
Source§impl<'a> Clone for RunnerConfig<'a>
impl<'a> Clone for RunnerConfig<'a>
Source§fn clone(&self) -> RunnerConfig<'a>
fn clone(&self) -> RunnerConfig<'a>
Returns a copy 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<'a> Debug for RunnerConfig<'a>
impl<'a> Debug for RunnerConfig<'a>
Source§impl Default for RunnerConfig<'_>
impl Default for RunnerConfig<'_>
Source§impl<'a> PartialEq for RunnerConfig<'a>
impl<'a> PartialEq for RunnerConfig<'a>
impl<'a> Eq for RunnerConfig<'a>
impl<'a> StructuralPartialEq for RunnerConfig<'a>
Auto Trait Implementations§
impl<'a> Freeze for RunnerConfig<'a>
impl<'a> RefUnwindSafe for RunnerConfig<'a>
impl<'a> Send for RunnerConfig<'a>
impl<'a> Sync for RunnerConfig<'a>
impl<'a> Unpin for RunnerConfig<'a>
impl<'a> UnwindSafe for RunnerConfig<'a>
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.