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
Source§fn clone(&self) -> ModelSnapshot
fn clone(&self) -> ModelSnapshot
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 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