pub struct SyncLoopStatus {
pub configured: bool,
pub syncing: bool,
pub last_sync_time: Option<String>,
pub error: Option<String>,
pub device_count: u32,
pub data_changed: bool,
pub row_changes: Option<Vec<RowChange>>,
}Expand description
Status emitted by the sync loop after each cycle.
Fields§
§configured: bool§syncing: bool§last_sync_time: Option<String>§error: Option<String>§device_count: u32§data_changed: bool§row_changes: Option<Vec<RowChange>>Row changes from applied changesets, for the host to map to domain
events. Present when data_changed is true.
Trait Implementations§
Source§impl Clone for SyncLoopStatus
impl Clone for SyncLoopStatus
Source§fn clone(&self) -> SyncLoopStatus
fn clone(&self) -> SyncLoopStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SyncLoopStatus
impl RefUnwindSafe for SyncLoopStatus
impl Send for SyncLoopStatus
impl Sync for SyncLoopStatus
impl Unpin for SyncLoopStatus
impl UnwindSafe for SyncLoopStatus
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 moreCreates a shared type from an unshared type.