pub struct SyncResult {
pub synced_count: usize,
pub conflict_count: usize,
pub received_count: usize,
pub success: bool,
}Expand description
Result of a sync operation.
Fields§
§synced_count: usizeNumber of operations successfully synced.
conflict_count: usizeNumber of operations that had conflicts.
received_count: usizeNumber of operations received from remote.
success: boolWhether all operations were synced successfully.
Trait Implementations§
Source§impl Clone for SyncResult
impl Clone for SyncResult
Source§fn clone(&self) -> SyncResult
fn clone(&self) -> SyncResult
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 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
Source§impl<'de> Deserialize<'de> for SyncResult
impl<'de> Deserialize<'de> for SyncResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. 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 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