pub struct ModelSnapshot {
pub migration_id: String,
pub entity_types: Vec<SnapshotEntityType>,
}Expand description
A snapshot of the entity model at a point in time.
Corresponds to EFCore’s ModelSnapshot.
Fields§
§migration_id: String§entity_types: Vec<SnapshotEntityType>Trait Implementations§
Source§impl Clone for ModelSnapshot
impl Clone for ModelSnapshot
Auto Trait Implementations§
impl Forget for ModelSnapshot
impl Freeze for ModelSnapshot
impl Move for ModelSnapshot
impl RefUnwindSafe for ModelSnapshot
impl Send for ModelSnapshot
impl Sync for ModelSnapshot
impl Unpin for ModelSnapshot
impl UnsafeUnpin for ModelSnapshot
impl UnwindSafe for ModelSnapshot
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