Struct crows_shared::ConstantArrivalRateConfig
source · pub struct ConstantArrivalRateConfig {
pub duration: Duration,
pub rate: usize,
pub time_unit: Duration,
pub allocated_vus: usize,
}
Fields§
§duration: Duration
§rate: usize
§time_unit: Duration
§allocated_vus: usize
Trait Implementations§
source§impl Clone for ConstantArrivalRateConfig
impl Clone for ConstantArrivalRateConfig
source§fn clone(&self) -> ConstantArrivalRateConfig
fn clone(&self) -> ConstantArrivalRateConfig
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 moresource§impl Debug for ConstantArrivalRateConfig
impl Debug for ConstantArrivalRateConfig
source§impl Default for ConstantArrivalRateConfig
impl Default for ConstantArrivalRateConfig
source§impl<'de> Deserialize<'de> for ConstantArrivalRateConfig
impl<'de> Deserialize<'de> for ConstantArrivalRateConfig
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 ConstantArrivalRateConfig
impl RefUnwindSafe for ConstantArrivalRateConfig
impl Send for ConstantArrivalRateConfig
impl Sync for ConstantArrivalRateConfig
impl Unpin for ConstantArrivalRateConfig
impl UnwindSafe for ConstantArrivalRateConfig
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