pub struct SpeedTestServersConfig {
pub servers: Vec<SpeedTestServer>,
}
Fields§
§servers: Vec<SpeedTestServer>
Implementations§
source§impl SpeedTestServersConfig
impl SpeedTestServersConfig
pub fn parse_with_config( server_config_xml: &str, config: &SpeedTestConfig ) -> Result<SpeedTestServersConfig, SpeedTestError>
pub fn servers_sorted_by_distance( &self, config: &SpeedTestConfig ) -> Vec<SpeedTestServer>
Auto Trait Implementations§
impl RefUnwindSafe for SpeedTestServersConfig
impl Send for SpeedTestServersConfig
impl Sync for SpeedTestServersConfig
impl Unpin for SpeedTestServersConfig
impl UnwindSafe for SpeedTestServersConfig
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