pub struct PreparedSnapshots {
pub ddl_prev: SQLiteDDL,
pub ddl_cur: SQLiteDDL,
pub snapshot: Snapshot<SqliteEntity>,
pub snapshot_prev: Snapshot<SqliteEntity>,
}Available on crate feature
std only.Expand description
Result of preparing SQLite snapshots for migration
Fields§
§ddl_prev: SQLiteDDLPrevious DDL state
ddl_cur: SQLiteDDLCurrent DDL state
snapshot: Snapshot<SqliteEntity>Current snapshot to be written
snapshot_prev: Snapshot<SqliteEntity>Previous snapshot (read from file)
Trait Implementations§
Source§impl Clone for PreparedSnapshots
impl Clone for PreparedSnapshots
Source§fn clone(&self) -> PreparedSnapshots
fn clone(&self) -> PreparedSnapshots
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PreparedSnapshots
impl RefUnwindSafe for PreparedSnapshots
impl Send for PreparedSnapshots
impl Sync for PreparedSnapshots
impl Unpin for PreparedSnapshots
impl UnsafeUnpin for PreparedSnapshots
impl UnwindSafe for PreparedSnapshots
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