pub struct CapacityControllerConfig {Show 15 fields
pub enabled: bool,
pub low_risk_max: f64,
pub medium_risk_max: f64,
pub severe_min_slack: f64,
pub severe_violation_ratio: f64,
pub refresh_cooldown_turns: u64,
pub replan_cooldown_turns: u64,
pub max_replay_per_turn: usize,
pub min_turns_before_guardrail: u64,
pub profile_window: usize,
pub deepseek_v3_2_chat_prior: f64,
pub deepseek_v3_2_reasoner_prior: f64,
pub deepseek_v4_pro_prior: f64,
pub deepseek_v4_flash_prior: f64,
pub fallback_default_prior: f64,
}Expand description
Controller settings.
Fields§
§enabled: bool§low_risk_max: f64§medium_risk_max: f64§severe_min_slack: f64§severe_violation_ratio: f64§refresh_cooldown_turns: u64§replan_cooldown_turns: u64§max_replay_per_turn: usize§min_turns_before_guardrail: u64§profile_window: usize§deepseek_v3_2_chat_prior: f64§deepseek_v3_2_reasoner_prior: f64§deepseek_v4_pro_prior: f64§deepseek_v4_flash_prior: f64§fallback_default_prior: f64Trait Implementations§
Source§impl Clone for CapacityControllerConfig
impl Clone for CapacityControllerConfig
Source§fn clone(&self) -> CapacityControllerConfig
fn clone(&self) -> CapacityControllerConfig
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 CapacityControllerConfig
impl Debug for CapacityControllerConfig
Source§impl Default for CapacityControllerConfig
impl Default for CapacityControllerConfig
Source§impl PartialEq for CapacityControllerConfig
impl PartialEq for CapacityControllerConfig
Source§fn eq(&self, other: &CapacityControllerConfig) -> bool
fn eq(&self, other: &CapacityControllerConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CapacityControllerConfig
Auto Trait Implementations§
impl Freeze for CapacityControllerConfig
impl RefUnwindSafe for CapacityControllerConfig
impl Send for CapacityControllerConfig
impl Sync for CapacityControllerConfig
impl Unpin for CapacityControllerConfig
impl UnsafeUnpin for CapacityControllerConfig
impl UnwindSafe for CapacityControllerConfig
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