pub struct HealthThresholds {
pub max_error_rate: f64,
pub max_consecutive_errors: u64,
}Fields§
§max_error_rate: f64§max_consecutive_errors: u64Implementations§
Trait Implementations§
Source§impl Clone for HealthThresholds
impl Clone for HealthThresholds
Source§fn clone(&self) -> HealthThresholds
fn clone(&self) -> HealthThresholds
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HealthThresholds
impl Debug for HealthThresholds
Auto Trait Implementations§
impl Freeze for HealthThresholds
impl RefUnwindSafe for HealthThresholds
impl Send for HealthThresholds
impl Sync for HealthThresholds
impl Unpin for HealthThresholds
impl UnwindSafe for HealthThresholds
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