pub struct PingSummary {
pub host: String,
pub ip: IpAddr,
pub sent: u32,
pub received: u32,
pub loss_pct: f64,
pub rtt_ms_min: Option<u64>,
pub rtt_ms_max: Option<u64>,
pub rtt_ms_avg: Option<f64>,
}Fields§
§host: String§ip: IpAddr§sent: u32§received: u32§loss_pct: f64§rtt_ms_min: Option<u64>§rtt_ms_max: Option<u64>§rtt_ms_avg: Option<f64>Trait Implementations§
Source§impl Clone for PingSummary
impl Clone for PingSummary
Source§fn clone(&self) -> PingSummary
fn clone(&self) -> PingSummary
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 PingSummary
impl Debug for PingSummary
Auto Trait Implementations§
impl Freeze for PingSummary
impl RefUnwindSafe for PingSummary
impl Send for PingSummary
impl Sync for PingSummary
impl Unpin for PingSummary
impl UnsafeUnpin for PingSummary
impl UnwindSafe for PingSummary
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