Struct diesel_migrations::EmbeddedMigrations
source · pub struct EmbeddedMigrations { /* private fields */ }
Expand description
A migration source that embeds migrations into the final binary
This source can be created via the embed_migrations!
at compile time.
Trait Implementations§
source§impl<DB: Backend> MigrationSource<DB> for EmbeddedMigrations
impl<DB: Backend> MigrationSource<DB> for EmbeddedMigrations
Auto Trait Implementations§
impl Freeze for EmbeddedMigrations
impl RefUnwindSafe for EmbeddedMigrations
impl Send for EmbeddedMigrations
impl Sync for EmbeddedMigrations
impl Unpin for EmbeddedMigrations
impl UnwindSafe for EmbeddedMigrations
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> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self
to an expression for Diesel’s query builder. Read more