pub struct ScoringWeights {
pub structural: f64,
pub behavioral: f64,
pub context_budget: f64,
pub vision: f64,
pub message: f64,
}Expand description
Weights for combining routing signals into a composite score.
Fields§
§structural: f64Weight for structural signal (message/tool count, context size).
behavioral: f64Weight for behavioral signal (phase detection, tool density).
context_budget: f64Weight for context/budget signal.
vision: f64Weight for vision signal (image content requiring vision-capable model).
message: f64Weight for message content signal (language-agnostic structural analysis).
Trait Implementations§
Source§impl Clone for ScoringWeights
impl Clone for ScoringWeights
Source§fn clone(&self) -> ScoringWeights
fn clone(&self) -> ScoringWeights
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 ScoringWeights
impl Debug for ScoringWeights
Source§impl Default for ScoringWeights
impl Default for ScoringWeights
Source§fn default() -> ScoringWeights
fn default() -> ScoringWeights
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ScoringWeights
impl<'de> Deserialize<'de> for ScoringWeights
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScoringWeights, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ScoringWeights, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ScoringWeights
impl Serialize for ScoringWeights
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ScoringWeights
impl RefUnwindSafe for ScoringWeights
impl Send for ScoringWeights
impl Sync for ScoringWeights
impl Unpin for ScoringWeights
impl UnsafeUnpin for ScoringWeights
impl UnwindSafe for ScoringWeights
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