pub(crate) struct SharedArgs {
pub duration: Duration,
pub warmup: Duration,
pub rate: u64,
pub payload_bytes: usize,
pub json: Option<PathBuf>,
}Expand description
Flags shared by the duration-based scenarios.
Fields§
§duration: Duration§warmup: Duration§rate: u64§payload_bytes: usize§json: Option<PathBuf>Trait Implementations§
Source§fn clone(&self) -> SharedArgs
fn clone(&self) -> SharedArgs
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§
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