Struct speedtest_rs::speedtest::SpeedTestServer
source · pub struct SpeedTestServer {
pub country: String,
pub host: String,
pub id: u32,
pub location: EarthLocation,
pub distance: Option<f32>,
pub name: String,
pub sponsor: String,
pub url: String,
}
Fields§
§country: String
§host: String
§id: u32
§location: EarthLocation
§distance: Option<f32>
§name: String
§sponsor: String
§url: String
Trait Implementations§
source§impl Clone for SpeedTestServer
impl Clone for SpeedTestServer
source§fn clone(&self) -> SpeedTestServer
fn clone(&self) -> SpeedTestServer
Returns a copy 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 moreAuto Trait Implementations§
impl RefUnwindSafe for SpeedTestServer
impl Send for SpeedTestServer
impl Sync for SpeedTestServer
impl Unpin for SpeedTestServer
impl UnwindSafe for SpeedTestServer
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