pub struct PerfGateThreshold {
pub max_ms: f64,
pub min_events_per_sec: f64,
pub max_elapsed_regression_pct: Option<f64>,
pub max_eps_drop_pct: Option<f64>,
}Fields§
§max_ms: f64§min_events_per_sec: f64§max_elapsed_regression_pct: Option<f64>§max_eps_drop_pct: Option<f64>Trait Implementations§
Source§impl Clone for PerfGateThreshold
impl Clone for PerfGateThreshold
Source§fn clone(&self) -> PerfGateThreshold
fn clone(&self) -> PerfGateThreshold
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 PerfGateThreshold
impl Debug for PerfGateThreshold
Source§impl<'de> Deserialize<'de> for PerfGateThreshold
impl<'de> Deserialize<'de> for PerfGateThreshold
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 PerfGateThreshold
impl RefUnwindSafe for PerfGateThreshold
impl Send for PerfGateThreshold
impl Sync for PerfGateThreshold
impl Unpin for PerfGateThreshold
impl UnsafeUnpin for PerfGateThreshold
impl UnwindSafe for PerfGateThreshold
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