pub struct ImportReport {
pub imported: usize,
pub first: Option<Position>,
pub last: Option<Position>,
pub reproduced_coordinates: bool,
}Expand description
What an import did.
Fields§
§imported: usize§first: Option<Position>Where the imported run landed, or None if nothing was imported.
last: Option<Position>§reproduced_coordinates: boolWhether every event landed at the position it carried.
True when a log is imported in order into an empty store, which is what a migration is — and it is the check that the copy really is the same log rather than merely the same events. False is not an error: merging into a store that already has history renumbers by design.
Implementations§
Source§impl ImportReport
impl ImportReport
Trait Implementations§
Source§impl Clone for ImportReport
impl Clone for ImportReport
Source§fn clone(&self) -> ImportReport
fn clone(&self) -> ImportReport
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 ImportReport
impl Debug for ImportReport
impl Eq for ImportReport
Source§impl PartialEq for ImportReport
impl PartialEq for ImportReport
impl StructuralPartialEq for ImportReport
Auto Trait Implementations§
impl Freeze for ImportReport
impl RefUnwindSafe for ImportReport
impl Send for ImportReport
impl Sync for ImportReport
impl Unpin for ImportReport
impl UnsafeUnpin for ImportReport
impl UnwindSafe for ImportReport
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