pub struct ObservationResyncBatch {
pub node_id: NodeId,
pub incarnation_id: NodeIncarnationId,
pub requested_after: u64,
pub high_watermark: NodeCursor,
pub oldest_available_sequence: u64,
pub records: Vec<ManagedRecordLink>,
pub records_complete: bool,
pub gaps: Vec<ObservationGap>,
pub events: Vec<ObservationIngressEnvelope>,
}Fields§
§node_id: NodeId§incarnation_id: NodeIncarnationId§requested_after: u64§high_watermark: NodeCursor§oldest_available_sequence: u64Node-authoritative replay floor. high_watermark.sequence + 1 means
that no replay event is available through the high watermark.
records: Vec<ManagedRecordLink>§records_complete: bool§gaps: Vec<ObservationGap>The exact retention-evicted prefix between requested_after and
oldest_available_sequence; sparse non-observation sequences are not gaps.
events: Vec<ObservationIngressEnvelope>Implementations§
Source§impl ObservationResyncBatch
impl ObservationResyncBatch
pub fn validate(&self) -> Result<(), ObservationApiError>
Trait Implementations§
Source§impl Clone for ObservationResyncBatch
impl Clone for ObservationResyncBatch
Source§impl Debug for ObservationResyncBatch
impl Debug for ObservationResyncBatch
Source§impl<'de> Deserialize<'de> for ObservationResyncBatch
impl<'de> Deserialize<'de> for ObservationResyncBatch
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
impl Eq for ObservationResyncBatch
Source§impl PartialEq for ObservationResyncBatch
impl PartialEq for ObservationResyncBatch
Source§impl Serialize for ObservationResyncBatch
impl Serialize for ObservationResyncBatch
impl StructuralPartialEq for ObservationResyncBatch
Auto Trait Implementations§
impl Freeze for ObservationResyncBatch
impl RefUnwindSafe for ObservationResyncBatch
impl Send for ObservationResyncBatch
impl Sync for ObservationResyncBatch
impl Unpin for ObservationResyncBatch
impl UnsafeUnpin for ObservationResyncBatch
impl UnwindSafe for ObservationResyncBatch
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