pub struct TableConfig {
pub table_name: String,
pub version_column: String,
pub name_column: String,
pub applied_at_column: String,
pub checksum_column: String,
pub execution_time_column: String,
pub rolled_back_at_column: String,
}
Expand description
Configuration for table names and columns
Fields§
§table_name: String
Name of the migrations table
version_column: String
Name of the version column
name_column: String
Name of the name column
applied_at_column: String
Name of the applied_at column
checksum_column: String
Name of the checksum column
execution_time_column: String
Name of the execution_time_ms column
rolled_back_at_column: String
Name of the rolled_back_at column
Trait Implementations§
Source§impl Clone for TableConfig
impl Clone for TableConfig
Source§fn clone(&self) -> TableConfig
fn clone(&self) -> TableConfig
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 TableConfig
impl Debug for TableConfig
Auto Trait Implementations§
impl Freeze for TableConfig
impl RefUnwindSafe for TableConfig
impl Send for TableConfig
impl Sync for TableConfig
impl Unpin for TableConfig
impl UnwindSafe for TableConfig
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