pub struct DimensionWeights {
pub capability_fit: f64,
pub cost_fit: f64,
pub latency_fit: f64,
pub trust_compatibility: f64,
pub historical_performance: f64,
}Expand description
Weights applied to each scoring dimension when computing a composite score.
Fields§
§capability_fit: f64§cost_fit: f64§latency_fit: f64§trust_compatibility: f64§historical_performance: f64Trait Implementations§
Source§impl Clone for DimensionWeights
impl Clone for DimensionWeights
Source§fn clone(&self) -> DimensionWeights
fn clone(&self) -> DimensionWeights
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DimensionWeights
impl Debug for DimensionWeights
Source§impl Default for DimensionWeights
impl Default for DimensionWeights
Source§impl<'de> Deserialize<'de> for DimensionWeights
impl<'de> Deserialize<'de> for DimensionWeights
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 DimensionWeights
impl RefUnwindSafe for DimensionWeights
impl Send for DimensionWeights
impl Sync for DimensionWeights
impl Unpin for DimensionWeights
impl UnsafeUnpin for DimensionWeights
impl UnwindSafe for DimensionWeights
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