pub struct ModelComparison {
pub model_a: CostEstimate,
pub model_b: CostEstimate,
pub cheaper_model: String,
pub savings: f64,
pub percent_difference: f64,
}Fields§
§model_a: CostEstimate§model_b: CostEstimate§cheaper_model: String§savings: f64§percent_difference: f64Trait Implementations§
Source§impl Clone for ModelComparison
impl Clone for ModelComparison
Source§fn clone(&self) -> ModelComparison
fn clone(&self) -> ModelComparison
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 ModelComparison
impl RefUnwindSafe for ModelComparison
impl Send for ModelComparison
impl Sync for ModelComparison
impl Unpin for ModelComparison
impl UnwindSafe for ModelComparison
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