pub struct SyncStatus {
pub mode: SyncMode,
pub last_sync: Option<DateTime<Utc>>,
pub pending_uploads: usize,
pub pending_downloads: usize,
pub conflicts: Vec<String>,
}Expand description
Overall sync status for the store.
Fields§
§mode: SyncModeCurrent sync mode.
last_sync: Option<DateTime<Utc>>Last successful sync time.
pending_uploads: usizeNumber of sessions pending upload.
pending_downloads: usizeNumber of sessions pending download.
conflicts: Vec<String>Sessions with conflicts.
Implementations§
Source§impl SyncStatus
impl SyncStatus
Trait Implementations§
Source§impl Clone for SyncStatus
impl Clone for SyncStatus
Source§fn clone(&self) -> SyncStatus
fn clone(&self) -> SyncStatus
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 moreSource§impl Debug for SyncStatus
impl Debug for SyncStatus
Source§impl Default for SyncStatus
impl Default for SyncStatus
Source§fn default() -> SyncStatus
fn default() -> SyncStatus
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SyncStatus
impl RefUnwindSafe for SyncStatus
impl Send for SyncStatus
impl Sync for SyncStatus
impl Unpin for SyncStatus
impl UnsafeUnpin for SyncStatus
impl UnwindSafe for SyncStatus
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