pub struct SchemaMigrationBoundaryReport {
pub path: PathBuf,
pub required: bool,
pub rows_scanned: usize,
pub boundary_rows: Vec<SchemaMigrationBoundaryRow>,
pub failures: Vec<SchemaMigrationBoundaryFailure>,
}Expand description
Report for verify_schema_migration_v1_to_v2_boundary.
Fields§
§path: PathBufPath that was scanned.
required: boolWhether the caller required exactly one boundary row.
rows_scanned: usizeNumber of rows scanned.
boundary_rows: Vec<SchemaMigrationBoundaryRow>Matching boundary rows, in file order.
failures: Vec<SchemaMigrationBoundaryFailure>Missing/duplicate boundary invariant failures.
Implementations§
Trait Implementations§
Source§impl Clone for SchemaMigrationBoundaryReport
impl Clone for SchemaMigrationBoundaryReport
Source§fn clone(&self) -> SchemaMigrationBoundaryReport
fn clone(&self) -> SchemaMigrationBoundaryReport
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<'de> Deserialize<'de> for SchemaMigrationBoundaryReport
impl<'de> Deserialize<'de> for SchemaMigrationBoundaryReport
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for SchemaMigrationBoundaryReport
impl PartialEq for SchemaMigrationBoundaryReport
Source§fn eq(&self, other: &SchemaMigrationBoundaryReport) -> bool
fn eq(&self, other: &SchemaMigrationBoundaryReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SchemaMigrationBoundaryReport
impl StructuralPartialEq for SchemaMigrationBoundaryReport
Auto Trait Implementations§
impl Freeze for SchemaMigrationBoundaryReport
impl RefUnwindSafe for SchemaMigrationBoundaryReport
impl Send for SchemaMigrationBoundaryReport
impl Sync for SchemaMigrationBoundaryReport
impl Unpin for SchemaMigrationBoundaryReport
impl UnsafeUnpin for SchemaMigrationBoundaryReport
impl UnwindSafe for SchemaMigrationBoundaryReport
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