pub struct Benefit {
pub cost_savings_usd: Option<f64>,
pub time_savings_ms: Option<u64>,
pub quality_improvement: Option<f64>,
}Expand description
Expected benefit from applying suggestion
Fields§
§cost_savings_usd: Option<f64>Estimated cost savings (USD)
time_savings_ms: Option<u64>Estimated time savings (ms)
quality_improvement: Option<f64>Estimated quality improvement (0.0 to 1.0)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Benefit
impl<'de> Deserialize<'de> for Benefit
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 Benefit
impl RefUnwindSafe for Benefit
impl Send for Benefit
impl Sync for Benefit
impl Unpin for Benefit
impl UnwindSafe for Benefit
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