pub struct SyncDiff {
pub identity: Option<MaybeDiff<FolderDiff>>,
pub account: Option<MaybeDiff<AccountDiff>>,
pub device: Option<MaybeDiff<DeviceDiff>>,
pub files: Option<MaybeDiff<FileDiff>>,
pub folders: IndexMap<VaultId, MaybeDiff<FolderDiff>>,
}Expand description
Diff between all events logs on local and remote.
Fields§
§identity: Option<MaybeDiff<FolderDiff>>Diff of the identity vault event logs.
account: Option<MaybeDiff<AccountDiff>>Diff of the account event log.
device: Option<MaybeDiff<DeviceDiff>>Diff of the device event log.
files: Option<MaybeDiff<FileDiff>>Available on crate feature
files only.Diff of the files event log.
folders: IndexMap<VaultId, MaybeDiff<FolderDiff>>Diff for folders in the account.
Trait Implementations§
impl Eq for SyncDiff
impl StructuralPartialEq for SyncDiff
Auto Trait Implementations§
impl Freeze for SyncDiff
impl RefUnwindSafe for SyncDiff
impl Send for SyncDiff
impl Sync for SyncDiff
impl Unpin for SyncDiff
impl UnwindSafe for SyncDiff
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.