pub struct SyncResponse {
pub marked: BTreeMap<String, i64>,
pub unsynced_after: BTreeMap<String, i64>,
}Expand description
The result of a mark-synced request: the count flipped per requested table, and the remaining unsynced count per table after the flip (always all four, so a caller sees the whole store’s pending-push watermark in one response).
Fields§
§marked: BTreeMap<String, i64>Rows flipped to synced, keyed by table name.
unsynced_after: BTreeMap<String, i64>Rows still unsynced after the flip, keyed by table name (all four).
Trait Implementations§
Source§impl Clone for SyncResponse
impl Clone for SyncResponse
Source§impl Debug for SyncResponse
impl Debug for SyncResponse
Source§impl Default for SyncResponse
impl Default for SyncResponse
Source§impl<'de> Deserialize<'de> for SyncResponse
impl<'de> Deserialize<'de> for SyncResponse
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
Source§impl PartialEq for SyncResponse
impl PartialEq for SyncResponse
Source§impl Serialize for SyncResponse
impl Serialize for SyncResponse
impl StructuralPartialEq for SyncResponse
Auto Trait Implementations§
impl Freeze for SyncResponse
impl RefUnwindSafe for SyncResponse
impl Send for SyncResponse
impl Sync for SyncResponse
impl Unpin for SyncResponse
impl UnsafeUnpin for SyncResponse
impl UnwindSafe for SyncResponse
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