pub struct EnhancementReport {
pub recommendations: Vec<Recommendation>,
pub category_summary: HashMap<String, usize>,
pub priority_summary: HashMap<String, usize>,
pub health_score: f64,
pub top_issues: Vec<String>,
pub quick_wins: Vec<String>,
}Expand description
Enhancement report containing all recommendations.
Fields§
§recommendations: Vec<Recommendation>All recommendations.
category_summary: HashMap<String, usize>Summary by category.
priority_summary: HashMap<String, usize>Summary by priority.
health_score: f64Overall health score (0.0-1.0).
top_issues: Vec<String>Top issues to address.
quick_wins: Vec<String>Quick wins (easy to fix with high impact).
Implementations§
Source§impl EnhancementReport
impl EnhancementReport
Sourcepub fn add(&mut self, recommendation: Recommendation)
pub fn add(&mut self, recommendation: Recommendation)
Add a recommendation.
Sourcepub fn by_category(
&self,
category: RecommendationCategory,
) -> Vec<&Recommendation>
pub fn by_category( &self, category: RecommendationCategory, ) -> Vec<&Recommendation>
Get recommendations by category.
Sourcepub fn by_priority(
&self,
priority: RecommendationPriority,
) -> Vec<&Recommendation>
pub fn by_priority( &self, priority: RecommendationPriority, ) -> Vec<&Recommendation>
Get recommendations by priority.
Sourcepub fn has_critical_issues(&self) -> bool
pub fn has_critical_issues(&self) -> bool
Check if there are critical issues.
Trait Implementations§
Source§impl Clone for EnhancementReport
impl Clone for EnhancementReport
Source§fn clone(&self) -> EnhancementReport
fn clone(&self) -> EnhancementReport
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 EnhancementReport
impl Debug for EnhancementReport
Source§impl Default for EnhancementReport
impl Default for EnhancementReport
Source§impl<'de> Deserialize<'de> for EnhancementReport
impl<'de> Deserialize<'de> for EnhancementReport
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for EnhancementReport
impl RefUnwindSafe for EnhancementReport
impl Send for EnhancementReport
impl Sync for EnhancementReport
impl Unpin for EnhancementReport
impl UnwindSafe for EnhancementReport
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.