pub struct StoredGroup {
pub entries: BTreeMap<String, Value>,
pub cookie: Value,
pub last_mutation_ids: BTreeMap<String, f64>,
pub mutations: Vec<StoredMutation>,
}Expand description
What a client group keeps: the last server snapshot and the mutations not yet in it.
Fields§
§entries: BTreeMap<String, Value>The replica: every key the server synced, with its value.
The server’s cookie for the snapshot.
last_mutation_ids: BTreeMap<String, f64>The last mutation of each client that the snapshot includes.
mutations: Vec<StoredMutation>In the order they were added.
Trait Implementations§
Source§impl Clone for StoredGroup
impl Clone for StoredGroup
Source§impl Debug for StoredGroup
impl Debug for StoredGroup
Source§impl Default for StoredGroup
impl Default for StoredGroup
Source§impl PartialEq for StoredGroup
impl PartialEq for StoredGroup
impl StructuralPartialEq for StoredGroup
Auto Trait Implementations§
impl Forget for StoredGroup
impl Freeze for StoredGroup
impl Move for StoredGroup
impl RefUnwindSafe for StoredGroup
impl Send for StoredGroup
impl Sync for StoredGroup
impl Unpin for StoredGroup
impl UnsafeUnpin for StoredGroup
impl UnwindSafe for StoredGroup
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