Struct collab2::MigrateConfig
source · pub struct MigrateConfig {
pub database_url: String,
pub migrations_path: Option<PathBuf>,
}
Fields§
§database_url: String
§migrations_path: Option<PathBuf>
Trait Implementations§
source§impl Default for MigrateConfig
impl Default for MigrateConfig
source§fn default() -> MigrateConfig
fn default() -> MigrateConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MigrateConfig
impl<'de> Deserialize<'de> for MigrateConfig
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MigrateConfig
impl Send for MigrateConfig
impl Sync for MigrateConfig
impl Unpin for MigrateConfig
impl UnwindSafe for MigrateConfig
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