pub struct Migration<'p> { /* private fields */ }Expand description
A lifetime-bound Migration.
Implementations§
Source§impl<'p> Migration<'p>
impl<'p> Migration<'p>
Sourcepub fn id(&self) -> MigrationId
pub fn id(&self) -> MigrationId
Row id
Sourcepub fn source(&self) -> PopulationId
pub fn source(&self) -> PopulationId
Source population
Sourcepub fn dest(&self) -> PopulationId
pub fn dest(&self) -> PopulationId
Destination population
Trait Implementations§
Auto Trait Implementations§
impl<'p> Freeze for Migration<'p>
impl<'p> RefUnwindSafe for Migration<'p>
impl<'p> !Send for Migration<'p>
impl<'p> !Sync for Migration<'p>
impl<'p> Unpin for Migration<'p>
impl<'p> UnsafeUnpin for Migration<'p>
impl<'p> UnwindSafe for Migration<'p>
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