pub struct ThresholdResult {
pub check: String,
pub threshold_kbps: Option<f64>,
pub threshold_display: Option<String>,
pub measured_kbps: f64,
pub measured_display: String,
pub met: bool,
pub percent: f64,
}Fields§
§check: String§threshold_kbps: Option<f64>§threshold_display: Option<String>§measured_kbps: f64§measured_display: String§met: bool§percent: f64Implementations§
Trait Implementations§
Source§impl Clone for ThresholdResult
impl Clone for ThresholdResult
Source§fn clone(&self) -> ThresholdResult
fn clone(&self) -> ThresholdResult
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 ThresholdResult
impl Debug for ThresholdResult
Auto Trait Implementations§
impl Freeze for ThresholdResult
impl RefUnwindSafe for ThresholdResult
impl Send for ThresholdResult
impl Sync for ThresholdResult
impl Unpin for ThresholdResult
impl UnsafeUnpin for ThresholdResult
impl UnwindSafe for ThresholdResult
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