pub enum SummaryState {
Complete,
Partial,
Empty,
MissingReference,
Unknown,
}Expand description
The explicit state of one initiative’s summary (data-model §4; C-006).
The five states are exhaustive and never conflated: an initiative that records nothing is not the same as one whose references are missing, and neither is a genuine zero-progress figure.
Variants§
Complete
Every recorded reference resolved and at least one reports a knowable value.
Partial
Some references resolved and at least one did not.
Empty
The initiative records no reference: nothing can contribute (C-006).
MissingReference
At least one reference is recorded and none of them resolve (C-005).
Unknown
Every reference resolved, but no resolved source reports anything knowable.
Implementations§
Trait Implementations§
Source§impl Clone for SummaryState
impl Clone for SummaryState
impl Copy for SummaryState
Source§impl Debug for SummaryState
impl Debug for SummaryState
impl Eq for SummaryState
Source§impl Hash for SummaryState
impl Hash for SummaryState
Source§impl Ord for SummaryState
impl Ord for SummaryState
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SummaryState
impl PartialEq for SummaryState
Source§impl PartialOrd for SummaryState
impl PartialOrd for SummaryState
impl StructuralPartialEq for SummaryState
Auto Trait Implementations§
impl Freeze for SummaryState
impl RefUnwindSafe for SummaryState
impl Send for SummaryState
impl Sync for SummaryState
impl Unpin for SummaryState
impl UnsafeUnpin for SummaryState
impl UnwindSafe for SummaryState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more