pub struct SyncResult {
pub readings_synced: u64,
pub status_events_synced: u64,
pub full_sync: bool,
pub duration_ms: u64,
pub errors: Vec<String>,
pub log: Vec<String>,
}Expand description
Outcome of one sync cycle. The runner fills full_sync and duration_ms;
a SyncService only reports counts, errors and log lines.
Fields§
§readings_synced: u64§status_events_synced: u64§full_sync: bool§duration_ms: u64§errors: Vec<String>§log: Vec<String>Trait Implementations§
Source§impl Debug for SyncResult
impl Debug for SyncResult
Source§impl Default for SyncResult
impl Default for SyncResult
Source§fn default() -> SyncResult
fn default() -> SyncResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SyncResult
impl RefUnwindSafe for SyncResult
impl Send for SyncResult
impl Sync for SyncResult
impl Unpin for SyncResult
impl UnsafeUnpin for SyncResult
impl UnwindSafe for SyncResult
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