pub struct ReactiveCollectionRestoreState<T> {
pub kind: ReactiveCollectionKind,
pub state: T,
pub source: ReactiveCollectionRestoreSource,
pub snapshot: ReactiveCollectionSnapshotRestoreMeta,
pub changes: ReactiveCollectionChangesRestoreMeta,
pub cursor: Option<u64>,
pub snapshot_found: bool,
pub changes_applied: usize,
}Expand description
ReactiveCollectionRestoreState data container.
Fields§
§kind: ReactiveCollectionKindkind field for kind.
state: Tstate field for state.
source: ReactiveCollectionRestoreSourcesource field for source.
snapshot: ReactiveCollectionSnapshotRestoreMetasnapshot field for snapshot.
changes: ReactiveCollectionChangesRestoreMetachanges field for changes.
cursor: Option<u64>cursor field for cursor.
snapshot_found: boolsnapshot_found field for snapshot found.
changes_applied: usizechanges_applied field for changes applied.
Trait Implementations§
Source§impl<T: Clone> Clone for ReactiveCollectionRestoreState<T>
impl<T: Clone> Clone for ReactiveCollectionRestoreState<T>
Source§fn clone(&self) -> ReactiveCollectionRestoreState<T>
fn clone(&self) -> ReactiveCollectionRestoreState<T>
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<T: Debug> Debug for ReactiveCollectionRestoreState<T>
impl<T: Debug> Debug for ReactiveCollectionRestoreState<T>
Source§impl<T: PartialEq> PartialEq for ReactiveCollectionRestoreState<T>
impl<T: PartialEq> PartialEq for ReactiveCollectionRestoreState<T>
Source§fn eq(&self, other: &ReactiveCollectionRestoreState<T>) -> bool
fn eq(&self, other: &ReactiveCollectionRestoreState<T>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<T> StructuralPartialEq for ReactiveCollectionRestoreState<T>
Auto Trait Implementations§
impl<T> Freeze for ReactiveCollectionRestoreState<T>where
T: Freeze,
impl<T> RefUnwindSafe for ReactiveCollectionRestoreState<T>where
T: RefUnwindSafe,
impl<T> Send for ReactiveCollectionRestoreState<T>where
T: Send,
impl<T> Sync for ReactiveCollectionRestoreState<T>where
T: Sync,
impl<T> Unpin for ReactiveCollectionRestoreState<T>where
T: Unpin,
impl<T> UnsafeUnpin for ReactiveCollectionRestoreState<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ReactiveCollectionRestoreState<T>where
T: UnwindSafe,
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