pub struct ReflexGate {
pub mean_latency_ms: f64,
pub std_dev_ms: f64,
pub event_count: u32,
pub percentiles: [f64; 5],
pub passed: bool,
}Expand description
Backspace-after-typo latency follows a characteristic distribution that is difficult to simulate.
reflex-gate = {
1: float64, ; Mean reflex latency (ms)
2: float64, ; Standard deviation (ms)
3: uint, ; Reflex event count
4: [5*float64], ; Percentiles (10, 25, 50, 75, 90)
5: bool ; Pass/fail (within human range)
}Fields§
§mean_latency_ms: f64§std_dev_ms: f64§event_count: u32§percentiles: [f64; 5]§passed: boolTypically 150-400ms for humans.
Trait Implementations§
Source§impl Clone for ReflexGate
impl Clone for ReflexGate
Source§fn clone(&self) -> ReflexGate
fn clone(&self) -> ReflexGate
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 ReflexGate
impl Debug for ReflexGate
Source§impl<'de> Deserialize<'de> for ReflexGate
impl<'de> Deserialize<'de> for ReflexGate
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 ReflexGate
impl RefUnwindSafe for ReflexGate
impl Send for ReflexGate
impl Sync for ReflexGate
impl Unpin for ReflexGate
impl UnsafeUnpin for ReflexGate
impl UnwindSafe for ReflexGate
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