pub struct UpdateReport {
pub added: usize,
pub changed: usize,
pub removed: usize,
pub wrote_segment: bool,
}Expand description
What an Index::update changed.
Fields§
§added: usize§changed: usize§removed: usize§wrote_segment: boolWhether a new segment was written (true iff added+changed > 0).
Implementations§
Trait Implementations§
Source§impl Clone for UpdateReport
impl Clone for UpdateReport
Source§fn clone(&self) -> UpdateReport
fn clone(&self) -> UpdateReport
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 UpdateReport
impl Debug for UpdateReport
Source§impl Default for UpdateReport
impl Default for UpdateReport
Source§fn default() -> UpdateReport
fn default() -> UpdateReport
Returns the “default value” for a type. Read more
impl Eq for UpdateReport
Source§impl PartialEq for UpdateReport
impl PartialEq for UpdateReport
Source§fn eq(&self, other: &UpdateReport) -> bool
fn eq(&self, other: &UpdateReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateReport
Auto Trait Implementations§
impl Freeze for UpdateReport
impl RefUnwindSafe for UpdateReport
impl Send for UpdateReport
impl Sync for UpdateReport
impl Unpin for UpdateReport
impl UnsafeUnpin for UpdateReport
impl UnwindSafe for UpdateReport
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