pub struct PriorityWeights {
pub decision_weight: f32,
pub error_weight: f32,
pub tool_weight: f32,
pub code_weight: f32,
pub keyword_weight: f32,
pub user_message_weight: f32,
pub recency_weight: f32,
pub length_weight: f32,
pub entity_weight: f32,
}Expand description
Weights for different priority factors.
Fields§
§decision_weight: f32§error_weight: f32§tool_weight: f32§code_weight: f32§keyword_weight: f32§user_message_weight: f32§recency_weight: f32§length_weight: f32§entity_weight: f32Trait Implementations§
Source§impl Clone for PriorityWeights
impl Clone for PriorityWeights
Source§fn clone(&self) -> PriorityWeights
fn clone(&self) -> PriorityWeights
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 PriorityWeights
impl Debug for PriorityWeights
Auto Trait Implementations§
impl Freeze for PriorityWeights
impl RefUnwindSafe for PriorityWeights
impl Send for PriorityWeights
impl Sync for PriorityWeights
impl Unpin for PriorityWeights
impl UnsafeUnpin for PriorityWeights
impl UnwindSafe for PriorityWeights
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