pub struct TestConfig {
pub concurrent_users: usize,
pub test_duration_secs: u64,
pub requests_per_second: f64,
pub warmup_duration_secs: u64,
pub cooldown_duration_secs: u64,
pub operations_tested: Vec<String>,
}
Expand description
Configuration used for testing (serializable version)
Fields§
§concurrent_users: usize
§test_duration_secs: u64
§requests_per_second: f64
§warmup_duration_secs: u64
§cooldown_duration_secs: u64
§operations_tested: Vec<String>
Trait Implementations§
Source§impl Clone for TestConfig
impl Clone for TestConfig
Source§fn clone(&self) -> TestConfig
fn clone(&self) -> TestConfig
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 TestConfig
impl Debug for TestConfig
Source§impl<'de> Deserialize<'de> for TestConfig
impl<'de> Deserialize<'de> for TestConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TestConfig
impl RefUnwindSafe for TestConfig
impl Send for TestConfig
impl Sync for TestConfig
impl Unpin for TestConfig
impl UnwindSafe for TestConfig
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