pub struct ProjectionMeta {
pub id: ProjectionId,
pub health: ProjectionHealth,
pub stale_cause: Option<StaleCause>,
pub built_at: Option<DateTime<Utc>>,
pub invalidated_at: Option<DateTime<Utc>>,
pub build_duration_ms: Option<u64>,
pub source_count: Option<usize>,
pub last_error: Option<String>,
pub version: Option<ProjectionVersion>,
}Expand description
Metadata about a projection’s lifecycle.
Fields§
§id: ProjectionIdProjection identity.
health: ProjectionHealthCurrent health.
stale_cause: Option<StaleCause>Why the projection is stale (if applicable).
built_at: Option<DateTime<Utc>>When the projection was last built.
invalidated_at: Option<DateTime<Utc>>When the projection was last invalidated.
build_duration_ms: Option<u64>How long the last build took, in milliseconds.
source_count: Option<usize>Number of source items that fed the projection.
last_error: Option<String>Last error if the projection is unhealthy.
version: Option<ProjectionVersion>Version metadata.
Trait Implementations§
Source§impl Clone for ProjectionMeta
impl Clone for ProjectionMeta
Source§fn clone(&self) -> ProjectionMeta
fn clone(&self) -> ProjectionMeta
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 ProjectionMeta
impl Debug for ProjectionMeta
Source§impl<'de> Deserialize<'de> for ProjectionMeta
impl<'de> Deserialize<'de> for ProjectionMeta
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 ProjectionMeta
impl RefUnwindSafe for ProjectionMeta
impl Send for ProjectionMeta
impl Sync for ProjectionMeta
impl Unpin for ProjectionMeta
impl UnsafeUnpin for ProjectionMeta
impl UnwindSafe for ProjectionMeta
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