pub struct PerformanceConfig {
pub enabled: Option<bool>,
pub track_token_usage: Option<bool>,
pub track_api_costs: Option<bool>,
pub track_response_times: Option<bool>,
pub enable_benchmarking: Option<bool>,
pub metrics_retention_days: Option<usize>,
}
Expand description
Performance monitoring configuration
Fields§
§enabled: Option<bool>
§track_token_usage: Option<bool>
§track_api_costs: Option<bool>
§track_response_times: Option<bool>
§enable_benchmarking: Option<bool>
§metrics_retention_days: Option<usize>
Trait Implementations§
Source§impl Debug for PerformanceConfig
impl Debug for PerformanceConfig
Source§impl<'de> Deserialize<'de> for PerformanceConfig
impl<'de> Deserialize<'de> for PerformanceConfig
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 PerformanceConfig
impl RefUnwindSafe for PerformanceConfig
impl Send for PerformanceConfig
impl Sync for PerformanceConfig
impl Unpin for PerformanceConfig
impl UnwindSafe for PerformanceConfig
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