pub struct ProjectionState {
pub name: String,
pub sequence_number: u64,
pub last_checkpoint: DateTime<Utc>,
pub status: ProjectionStatus,
pub stats: ProjectionStats,
}Expand description
Projection state
Fields§
§name: StringProjection name
sequence_number: u64Current event sequence number
last_checkpoint: DateTime<Utc>Last checkpoint timestamp
status: ProjectionStatusProjection status
stats: ProjectionStatsProcessing statistics
Trait Implementations§
Source§impl Clone for ProjectionState
impl Clone for ProjectionState
Source§fn clone(&self) -> ProjectionState
fn clone(&self) -> ProjectionState
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 ProjectionState
impl Debug for ProjectionState
Source§impl<'de> Deserialize<'de> for ProjectionState
impl<'de> Deserialize<'de> for ProjectionState
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 ProjectionState
impl RefUnwindSafe for ProjectionState
impl Send for ProjectionState
impl Sync for ProjectionState
impl Unpin for ProjectionState
impl UnsafeUnpin for ProjectionState
impl UnwindSafe for ProjectionState
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