pub struct Days {
pub from: NaiveDate,
pub to: NaiveDate,
pub days: Vec<Day>,
pub privacy_level: PrivacyLevel,
pub not_stored: Vec<&'static str>,
pub progress: Progress,
pub worked_seconds: i64,
}Expand description
The answer: the days, and what the installation’s policy left out of them.
Fields§
§from: NaiveDate§to: NaiveDate§days: Vec<Day>§privacy_level: PrivacyLevelThe level in force now. Not necessarily the one these days were stored under - narrowing does not rewrite history (ADR 0011) - which is why the omissions below are stated per kind rather than inferred from it.
not_stored: Vec<&'static str>Kinds of detail this installation does not keep, named so a screen can say “not stored” where it would otherwise show an empty section. An empty list means nothing is withheld.
progress: ProgressWhat the range asked for against what was worked. A pair rather than a percentage: the screen divides (ADR 0017).
worked_seconds: i64Seconds worked across the range - the same rule the days follow, so the figure beside the norm is the sum of what is drawn.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Days
impl RefUnwindSafe for Days
impl Send for Days
impl Sync for Days
impl Unpin for Days
impl UnsafeUnpin for Days
impl UnwindSafe for Days
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
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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