pub struct ServiceSchemaPlan {
pub service: &'static str,
pub sqlite: &'static [Migration],
pub postgres: &'static [Migration],
}Expand description
A pack-scoped schema plan containing migrations for SQLite and Postgres.
Fields§
§service: &'static strService name used as a key in the _schema_versions tracking table.
sqlite: &'static [Migration]SQLite-specific migration steps, applied in order.
postgres: &'static [Migration]Postgres-specific migration steps (reserved for future use).
Auto Trait Implementations§
impl Freeze for ServiceSchemaPlan
impl RefUnwindSafe for ServiceSchemaPlan
impl Send for ServiceSchemaPlan
impl Sync for ServiceSchemaPlan
impl Unpin for ServiceSchemaPlan
impl UnsafeUnpin for ServiceSchemaPlan
impl UnwindSafe for ServiceSchemaPlan
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