pub struct UpdateStats {
pub batches: u64,
pub diffs: u64,
pub rows: u64,
pub moved_ways: u64,
pub sequence: i64,
pub stopped: Option<StopReason>,
}Expand description
What an update applied.
Fields§
§batches: u64Transactions, each a new revision.
diffs: u64Diffs read.
rows: u64Rows of osm.nodes, osm.ways and osm.relations written or deleted.
moved_ways: u64Ways whose geometry changed only because their nodes did.
sequence: i64The sequence the database is now at.
stopped: Option<StopReason>Why the update ended before the last sequence it was to apply, if a stop was asked for; none if it got there.
OpenMirror::follow sets it the same way, except when the time limit passes with the database up to date.
Trait Implementations§
Source§impl Clone for UpdateStats
impl Clone for UpdateStats
Source§impl Debug for UpdateStats
impl Debug for UpdateStats
Source§impl Default for UpdateStats
impl Default for UpdateStats
impl Eq for UpdateStats
Source§impl PartialEq for UpdateStats
impl PartialEq for UpdateStats
impl StructuralPartialEq for UpdateStats
Auto Trait Implementations§
impl Forget for UpdateStats
impl Freeze for UpdateStats
impl Move for UpdateStats
impl RefUnwindSafe for UpdateStats
impl Send for UpdateStats
impl Sync for UpdateStats
impl Unpin for UpdateStats
impl UnsafeUnpin for UpdateStats
impl UnwindSafe for UpdateStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more