Struct speedtest_rs::speedtest_config::SpeedTestConfig
source · pub struct SpeedTestConfig {
pub client: SpeedTestClientConfig,
pub ignore_servers: Vec<u32>,
pub sizes: SpeedTestSizeConfig,
pub counts: SpeedTestCountsConfig,
pub threads: SpeedTestThreadsConfig,
pub length: SpeedTestLengthConfig,
pub upload_max: usize,
pub location: EarthLocation,
}
Fields§
§client: SpeedTestClientConfig
§ignore_servers: Vec<u32>
§sizes: SpeedTestSizeConfig
§counts: SpeedTestCountsConfig
§threads: SpeedTestThreadsConfig
§length: SpeedTestLengthConfig
§upload_max: usize
§location: EarthLocation
Implementations§
source§impl SpeedTestConfig
impl SpeedTestConfig
pub fn parse(config_xml: &str) -> Result<SpeedTestConfig, SpeedTestError>
Trait Implementations§
source§impl Default for SpeedTestConfig
impl Default for SpeedTestConfig
source§fn default() -> SpeedTestConfig
fn default() -> SpeedTestConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SpeedTestConfig
impl Send for SpeedTestConfig
impl Sync for SpeedTestConfig
impl Unpin for SpeedTestConfig
impl UnwindSafe for SpeedTestConfig
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