#[non_exhaustive]pub struct CountChange {
pub entity_type: String,
pub old: usize,
pub new: usize,
}Expand description
How many instances of an entity type each file has.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.entity_type: StringUpper-cased entity type.
old: usizeRecords in the first file.
new: usizeRecords in the second file.
Trait Implementations§
Source§impl Clone for CountChange
impl Clone for CountChange
Source§fn clone(&self) -> CountChange
fn clone(&self) -> CountChange
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 CountChange
impl Debug for CountChange
impl Eq for CountChange
Source§impl PartialEq for CountChange
impl PartialEq for CountChange
Source§impl Serialize for CountChange
Available on crate feature serde only.
impl Serialize for CountChange
Available on crate feature
serde only.impl StructuralPartialEq for CountChange
Auto Trait Implementations§
impl Freeze for CountChange
impl RefUnwindSafe for CountChange
impl Send for CountChange
impl Sync for CountChange
impl Unpin for CountChange
impl UnsafeUnpin for CountChange
impl UnwindSafe for CountChange
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