pub struct MigrationReport {
pub applied: usize,
pub skipped: usize,
pub current_version: u32,
}Expand description
迁移报告
Fields§
§applied: usize已应用的迁移数量
skipped: usize跳过的迁移数量(已存在)
current_version: u32当前数据库版本
Trait Implementations§
Source§impl Debug for MigrationReport
impl Debug for MigrationReport
Source§impl Default for MigrationReport
impl Default for MigrationReport
Source§fn default() -> MigrationReport
fn default() -> MigrationReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MigrationReport
impl RefUnwindSafe for MigrationReport
impl Send for MigrationReport
impl Sync for MigrationReport
impl Unpin for MigrationReport
impl UnwindSafe for MigrationReport
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