pub struct DailyPoint {
pub date: String,
pub scope_total: Option<i64>,
pub remaining: Option<i64>,
pub completed: Option<i64>,
pub scope_added: Option<i64>,
pub completions: Option<i64>,
pub coverage: Coverage,
pub event_ids: Vec<String>,
}Expand description
One calendar-day series value (data-model.md §3).
Every number is an Option, and every None is a statement: the value is not
known, and rendering it as 0 would be the assumption C-005 forbids. event_ids
is the day’s provenance in the crate’s recorded order — issue number, then entry
index — so a reader can walk from a point
back to the recorded lines that produced it.
Fields§
§date: StringThe canonical YYYY-MM-DD day.
scope_total: Option<i64>The planned scope carried to this day, when the origin is known.
remaining: Option<i64>The remaining work carried to this day, when it is answerable.
completed: Option<i64>The completed work carried to this day, when the origin is known.
scope_added: Option<i64>The scope additions recorded on this day, when the day was observed.
completions: Option<i64>The completions recorded on this day, when the day was observed.
coverage: CoverageHow much of the day the fold can answer.
event_ids: Vec<String>The recorded contributions placed on this day, in the crate’s recorded order (issue number, then entry index) — never the order the caller listed the store.
Implementations§
Trait Implementations§
Source§impl Clone for DailyPoint
impl Clone for DailyPoint
Source§impl Debug for DailyPoint
impl Debug for DailyPoint
Source§impl<'de> Deserialize<'de> for DailyPoint
impl<'de> Deserialize<'de> for DailyPoint
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>,
impl Eq for DailyPoint
Source§impl PartialEq for DailyPoint
impl PartialEq for DailyPoint
Source§impl Serialize for DailyPoint
impl Serialize for DailyPoint
impl StructuralPartialEq for DailyPoint
Auto Trait Implementations§
impl Freeze for DailyPoint
impl RefUnwindSafe for DailyPoint
impl Send for DailyPoint
impl Sync for DailyPoint
impl Unpin for DailyPoint
impl UnsafeUnpin for DailyPoint
impl UnwindSafe for DailyPoint
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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
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> ⓘ
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> ⓘ
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