pub struct SyncLoopSuccess {
pub last_sync_time: String,
pub device_count: u32,
pub device_activity: Vec<DeviceActivity>,
pub data_changed: bool,
pub row_changes: Option<Vec<RowChange>>,
pub alerts: SyncLoopAlerts,
}Fields§
§last_sync_time: String§device_count: u32§device_activity: Vec<DeviceActivity>Per-device activity of the other devices — id, member key, latest seq, last-sync time — for a host to render which devices synced and when.
data_changed: bool§row_changes: Option<Vec<RowChange>>Row changes from applied changesets, for the host to map to domain events.
Some when data_changed. A refresh hint, not a complete stream: a
lagged subscriber can miss it entirely, and several accepted changesets
can touch the same row, so a host re-reads affected rows by primary key
rather than trusting it as exhaustive.
alerts: SyncLoopAlertsTrait Implementations§
Source§impl Clone for SyncLoopSuccess
impl Clone for SyncLoopSuccess
Source§fn clone(&self) -> SyncLoopSuccess
fn clone(&self) -> SyncLoopSuccess
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 SyncLoopSuccess
impl RefUnwindSafe for SyncLoopSuccess
impl Send for SyncLoopSuccess
impl Sync for SyncLoopSuccess
impl Unpin for SyncLoopSuccess
impl UnsafeUnpin for SyncLoopSuccess
impl UnwindSafe for SyncLoopSuccess
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.