pub struct SyncReceiveAck {
pub accepted: bool,
pub received: usize,
pub skipped: usize,
pub last_sequence: u64,
}Expand description
Ack returned by /v1/sync/events.
Fields§
§accepted: boolWhether the batch passed validation and checkpoint rules.
received: usizeNumber of newly appended events.
skipped: usizeNumber of idempotently skipped events.
last_sequence: u64Final source sequence represented by the accepted batch.
Trait Implementations§
Source§impl Clone for SyncReceiveAck
impl Clone for SyncReceiveAck
Source§fn clone(&self) -> SyncReceiveAck
fn clone(&self) -> SyncReceiveAck
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SyncReceiveAck
impl Debug for SyncReceiveAck
impl Eq for SyncReceiveAck
Source§impl PartialEq for SyncReceiveAck
impl PartialEq for SyncReceiveAck
impl StructuralPartialEq for SyncReceiveAck
Auto Trait Implementations§
impl Freeze for SyncReceiveAck
impl RefUnwindSafe for SyncReceiveAck
impl Send for SyncReceiveAck
impl Sync for SyncReceiveAck
impl Unpin for SyncReceiveAck
impl UnsafeUnpin for SyncReceiveAck
impl UnwindSafe for SyncReceiveAck
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