pub struct ProjectionCheckpoint {
pub projection_name: String,
pub state: Value,
pub last_event_timestamp: DateTime<Utc>,
pub event_count: u64,
}Expand description
A checkpoint of a projection’s state, persisted to disk.
Fields§
§projection_name: String§state: Value§last_event_timestamp: DateTime<Utc>§event_count: u64Trait Implementations§
Source§impl Clone for ProjectionCheckpoint
impl Clone for ProjectionCheckpoint
Source§fn clone(&self) -> ProjectionCheckpoint
fn clone(&self) -> ProjectionCheckpoint
Returns a duplicate of the value. Read more
1.0.0 · 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 ProjectionCheckpoint
impl Debug for ProjectionCheckpoint
Source§impl<'de> Deserialize<'de> for ProjectionCheckpoint
impl<'de> Deserialize<'de> for ProjectionCheckpoint
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 Freeze for ProjectionCheckpoint
impl RefUnwindSafe for ProjectionCheckpoint
impl Send for ProjectionCheckpoint
impl Sync for ProjectionCheckpoint
impl Unpin for ProjectionCheckpoint
impl UnsafeUnpin for ProjectionCheckpoint
impl UnwindSafe for ProjectionCheckpoint
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