pub struct AdrStatistics {
pub total_count: usize,
pub by_status: HashMap<String, usize>,
pub by_category: HashMap<String, usize>,
pub by_author: HashMap<String, usize>,
pub by_tag: HashMap<String, usize>,
pub by_technology: HashMap<String, usize>,
pub by_project: HashMap<String, usize>,
pub by_year: HashMap<i32, usize>,
pub earliest_date: Option<Date>,
pub latest_date: Option<Date>,
}Expand description
Aggregated statistics for an ADR collection.
Fields§
§total_count: usizeTotal number of ADRs.
by_status: HashMap<String, usize>Counts by status.
by_category: HashMap<String, usize>Counts by category.
Counts by author.
by_tag: HashMap<String, usize>Counts by tag.
by_technology: HashMap<String, usize>Counts by technology.
by_project: HashMap<String, usize>Counts by project.
by_year: HashMap<i32, usize>Counts by year.
earliest_date: Option<Date>Earliest created date.
latest_date: Option<Date>Latest created date.
Implementations§
Trait Implementations§
Source§impl Clone for AdrStatistics
impl Clone for AdrStatistics
Source§fn clone(&self) -> AdrStatistics
fn clone(&self) -> AdrStatistics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdrStatistics
impl Debug for AdrStatistics
Source§impl Default for AdrStatistics
impl Default for AdrStatistics
Source§fn default() -> AdrStatistics
fn default() -> AdrStatistics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AdrStatistics
impl RefUnwindSafe for AdrStatistics
impl Send for AdrStatistics
impl Sync for AdrStatistics
impl Unpin for AdrStatistics
impl UnwindSafe for AdrStatistics
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