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: RecommendationTypeType of recommendation
current_config: StringCurrent configuration
recommended_config: StringRecommended configuration
explanation: StringExplanation of the change
estimated_impact: OptimizationImpactEstimated impact (binary size reduction, compile time improvement, etc.)
confidence: f32Confidence level of the recommendation (0.0 to 1.0)
auto_applicable: boolWhether 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 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 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