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 create 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 RefUnwindSafe for EmbeddedMigrations
impl Send for EmbeddedMigrations
impl Sync for EmbeddedMigrations
impl Unpin for EmbeddedMigrations
impl UnwindSafe for EmbeddedMigrations
Blanket Implementations§
source§impl<T> IntoSql for T
impl<T> IntoSql for T
source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: AsExpression<T> + Sized,
T: SqlType + TypedExpressionType,
fn into_sql<T>(self) -> Self::Expressionwhere Self: AsExpression<T> + Sized, T: SqlType + TypedExpressionType,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
T: SqlType + TypedExpressionType,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere &'a Self: AsExpression<T>, T: SqlType + TypedExpressionType,
Convert
&self
to an expression for Diesel’s query builder. Read more