pub struct Dashboard {
pub query: Query,
pub total: Summary,
pub report: Vec<ReportRow>,
pub projects: Vec<(String, Summary)>,
pub warnings: Vec<String>,
pub row_count: usize,
pub series: TimeSeries,
pub pie: Pie,
pub selection: Selection,
pub currency: Currency,
pub updated_at: String,
}Expand description
Everything a page render needs.
Fields§
§query: Query§total: Summary§report: Vec<ReportRow>§projects: Vec<(String, Summary)>§warnings: Vec<String>§row_count: usize§series: TimeSeriesStacked per-tool totals over time (the bar chart).
pie: PieShare by project (the donut).
selection: SelectionThe clicked bar and/or slice that everything above is scoped to (stale parts already dropped).
currency: CurrencyThe display currency (costs in the data stay US dollars).
updated_at: StringLocal wall-clock time the snapshot was taken (HH:MM:SS).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Dashboard
impl RefUnwindSafe for Dashboard
impl Send for Dashboard
impl Sync for Dashboard
impl Unpin for Dashboard
impl UnsafeUnpin for Dashboard
impl UnwindSafe for Dashboard
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