pub struct AlertThresholds {
pub error_rate_threshold: f64,
pub latency_threshold_ms: f64,
pub memory_threshold_mb: usize,
pub connection_failure_threshold: u32,
}Fields§
§error_rate_threshold: f64Error rate threshold (0.0 to 1.0)
latency_threshold_ms: f64Latency threshold in milliseconds
memory_threshold_mb: usizeMemory usage threshold in MB
connection_failure_threshold: u32Connection failure threshold
Trait Implementations§
Source§impl Clone for AlertThresholds
impl Clone for AlertThresholds
Source§fn clone(&self) -> AlertThresholds
fn clone(&self) -> AlertThresholds
Returns a duplicate of the value. Read more
1.0.0 · 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 AlertThresholds
impl Debug for AlertThresholds
Source§impl<'de> Deserialize<'de> for AlertThresholds
impl<'de> Deserialize<'de> for AlertThresholds
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 AlertThresholds
impl RefUnwindSafe for AlertThresholds
impl Send for AlertThresholds
impl Sync for AlertThresholds
impl Unpin for AlertThresholds
impl UnwindSafe for AlertThresholds
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