pub struct ReportView {
pub period: Period,
pub group: Group,
pub tag: Option<String>,
pub query: String,
}Expand description
What a report shows: which period, and how it’s grouped and filtered.
Fields§
§period: PeriodThe hour, day, week or month being reported.
group: GroupRows per task or per tag.
tag: Option<String>Only count tasks carrying this tag.
query: StringOnly count tasks matching this search (see Task::matches); empty matches all.
Implementations§
Trait Implementations§
Source§impl Clone for ReportView
impl Clone for ReportView
Source§impl Debug for ReportView
impl Debug for ReportView
impl Eq for ReportView
Source§impl PartialEq for ReportView
impl PartialEq for ReportView
impl StructuralPartialEq for ReportView
Auto Trait Implementations§
impl Freeze for ReportView
impl RefUnwindSafe for ReportView
impl Send for ReportView
impl Sync for ReportView
impl Unpin for ReportView
impl UnsafeUnpin for ReportView
impl UnwindSafe for ReportView
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> Equivalent<K> for Q
impl<Q, K> Equivalent<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.