pub struct ExecutionResult {
pub success: bool,
pub exit_code: i32,
pub error: Option<String>,
}Expand description
Result of executing a migration
Fields§
§success: boolWhether the migration succeeded
exit_code: i32Exit code from the subprocess
error: Option<String>Error message if any
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecutionResult
impl RefUnwindSafe for ExecutionResult
impl Send for ExecutionResult
impl Sync for ExecutionResult
impl Unpin for ExecutionResult
impl UnwindSafe for ExecutionResult
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