pub struct LoadOptions {Show 13 fields
pub url: String,
pub method: String,
pub headers: HashMap<String, String>,
pub body: Option<String>,
pub version: Option<HttpVersion>,
pub keep_alive: bool,
pub requests: u32,
pub connections: usize,
pub http2_parallel: usize,
pub duration: Option<Duration>,
pub wait_after_deadline: bool,
pub qps: Option<u64>,
pub show_progress: bool,
}Fields§
§url: String§method: String§headers: HashMap<String, String>§body: Option<String>§version: Option<HttpVersion>§keep_alive: bool§requests: u32§connections: usize§http2_parallel: usize§duration: Option<Duration>§wait_after_deadline: bool§qps: Option<u64>§show_progress: boolTrait Implementations§
Source§impl Clone for LoadOptions
impl Clone for LoadOptions
Source§fn clone(&self) -> LoadOptions
fn clone(&self) -> LoadOptions
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 moreAuto Trait Implementations§
impl Freeze for LoadOptions
impl RefUnwindSafe for LoadOptions
impl Send for LoadOptions
impl Sync for LoadOptions
impl Unpin for LoadOptions
impl UnwindSafe for LoadOptions
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