pub struct MigrationReport {
pub source_version: Option<u32>,
pub target_version: u32,
pub records: usize,
pub changed: bool,
}Expand description
Result of converting a file to the current schema.
Fields§
§source_version: Option<u32>None means that no source record/version was observed, including when
the source file is missing or empty.
target_version: u32§records: usize§changed: boolTrait Implementations§
Source§impl Clone for MigrationReport
impl Clone for MigrationReport
Source§fn clone(&self) -> MigrationReport
fn clone(&self) -> MigrationReport
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 MigrationReport
impl Debug for MigrationReport
impl Eq for MigrationReport
Source§impl PartialEq for MigrationReport
impl PartialEq for MigrationReport
impl StructuralPartialEq for MigrationReport
Auto Trait Implementations§
impl Freeze for MigrationReport
impl RefUnwindSafe for MigrationReport
impl Send for MigrationReport
impl Sync for MigrationReport
impl Unpin for MigrationReport
impl UnsafeUnpin 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