pub struct SystemCheckpoint {
pub format: u32,
pub covered_seq: u64,
pub created_at: DateTime<Utc>,
pub segments: Vec<CoveredSegment>,
pub domain_counts: BTreeMap<String, u64>,
pub verbatim: Vec<(u64, Event)>,
pub folds: BTreeMap<String, FoldedStream>,
}Fields§
§format: u32§covered_seq: u64Every system event with a sequence at or below this is in the checkpoint, verbatim or folded.
created_at: DateTime<Utc>§segments: Vec<CoveredSegment>Each WAL segment and the length of it the checkpoint covers.
domain_counts: BTreeMap<String, u64>Events written per system domain up to covered_seq.
verbatim: Vec<(u64, Event)>The events of every domain that is not folded, in sequence order.
folds: BTreeMap<String, FoldedStream>Folded domains by name.
Trait Implementations§
Source§impl Clone for SystemCheckpoint
impl Clone for SystemCheckpoint
Source§impl Debug for SystemCheckpoint
impl Debug for SystemCheckpoint
Source§impl<'de> Deserialize<'de> for SystemCheckpoint
impl<'de> Deserialize<'de> for SystemCheckpoint
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
Auto Trait Implementations§
impl Forget for SystemCheckpoint
impl Freeze for SystemCheckpoint
impl RefUnwindSafe for SystemCheckpoint
impl Send for SystemCheckpoint
impl Sync for SystemCheckpoint
impl Unpin for SystemCheckpoint
impl UnsafeUnpin for SystemCheckpoint
impl UnwindSafe for SystemCheckpoint
Blanket Implementations§
impl<T> Allocation for T
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