pub enum MigrationGenerationOutcome {
UpToDate,
Generated(Box<GeneratedMigration>),
}Expand description
Result of one offline generation attempt.
Variants§
UpToDate
The head target already equals the desired schema.
Generated(Box<GeneratedMigration>)
A new verified manifest was authored.
Trait Implementations§
Source§impl Clone for MigrationGenerationOutcome
impl Clone for MigrationGenerationOutcome
Auto Trait Implementations§
impl Freeze for MigrationGenerationOutcome
impl RefUnwindSafe for MigrationGenerationOutcome
impl Send for MigrationGenerationOutcome
impl Sync for MigrationGenerationOutcome
impl Unpin for MigrationGenerationOutcome
impl UnsafeUnpin for MigrationGenerationOutcome
impl UnwindSafe for MigrationGenerationOutcome
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