pub struct SyncState {
pub is_syncing: bool,
pub last_sync: Option<DateTime<Utc>>,
pub connected_users: usize,
pub pending_changes: usize,
pub sync_errors: Vec<String>,
}Expand description
Synchronization state
Fields§
§is_syncing: bool§last_sync: Option<DateTime<Utc>>§connected_users: usize§pending_changes: usize§sync_errors: Vec<String>Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyncState
impl RefUnwindSafe for SyncState
impl Send for SyncState
impl Sync for SyncState
impl Unpin for SyncState
impl UnwindSafe for SyncState
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