pub enum MigrationApplyTarget {
DefaultHead,
Explicit(BTreeSet<MigrationId>),
}Expand description
Select the target closure of a migration apply operation.
Variants§
DefaultHead
Apply to the sole verified history head, rejecting an ambiguous history.
Explicit(BTreeSet<MigrationId>)
Apply the complete ancestor closure of these explicit targets.
Trait Implementations§
Source§impl Clone for MigrationApplyTarget
impl Clone for MigrationApplyTarget
Source§fn clone(&self) -> MigrationApplyTarget
fn clone(&self) -> MigrationApplyTarget
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 moreSource§impl Debug for MigrationApplyTarget
impl Debug for MigrationApplyTarget
impl Eq for MigrationApplyTarget
Source§impl PartialEq for MigrationApplyTarget
impl PartialEq for MigrationApplyTarget
impl StructuralPartialEq for MigrationApplyTarget
Auto Trait Implementations§
impl Freeze for MigrationApplyTarget
impl RefUnwindSafe for MigrationApplyTarget
impl Send for MigrationApplyTarget
impl Sync for MigrationApplyTarget
impl Unpin for MigrationApplyTarget
impl UnsafeUnpin for MigrationApplyTarget
impl UnwindSafe for MigrationApplyTarget
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