pub struct InteractiveRecommendation {
pub recommendation_type: RecommendationType,
pub current_config: String,
pub recommended_config: String,
pub explanation: String,
pub estimated_impact: OptimizationImpact,
pub confidence: f32,
pub auto_applicable: bool,
}
Expand description
NEW: Interactive recommendation for dependency optimization
Fields§
§recommendation_type: RecommendationType
Type of recommendation
current_config: String
Current configuration
recommended_config: String
Recommended configuration
explanation: String
Explanation of the change
estimated_impact: OptimizationImpact
Estimated impact (binary size reduction, compile time improvement, etc.)
confidence: f32
Confidence level of the recommendation (0.0 to 1.0)
auto_applicable: bool
Whether this change is safe to apply automatically
Trait Implementations§
Source§impl Clone for InteractiveRecommendation
impl Clone for InteractiveRecommendation
Source§fn clone(&self) -> InteractiveRecommendation
fn clone(&self) -> InteractiveRecommendation
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for InteractiveRecommendation
impl RefUnwindSafe for InteractiveRecommendation
impl Send for InteractiveRecommendation
impl Sync for InteractiveRecommendation
impl Unpin for InteractiveRecommendation
impl UnwindSafe for InteractiveRecommendation
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