pub struct LoadProfile {
pub stages: Vec<LoadStage>,
}Expand description
The load profile of a load scenario: an ordered list of LoadStages run
in sequence. Maps to the LoadProfile schema.
Use LoadProfile::of to build from a list of stages, or the convenience
constructors LoadProfile::constant / LoadProfile::linear for a single
VU stage.
Fields§
§stages: Vec<LoadStage>Ordered stages run one after another.
Implementations§
Trait Implementations§
Source§impl Clone for LoadProfile
impl Clone for LoadProfile
Source§fn clone(&self) -> LoadProfile
fn clone(&self) -> LoadProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LoadProfile
impl Debug for LoadProfile
Source§impl Default for LoadProfile
impl Default for LoadProfile
Source§fn default() -> LoadProfile
fn default() -> LoadProfile
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LoadProfile
impl<'de> Deserialize<'de> for LoadProfile
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
Source§impl PartialEq for LoadProfile
impl PartialEq for LoadProfile
Source§fn eq(&self, other: &LoadProfile) -> bool
fn eq(&self, other: &LoadProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LoadProfile
impl Serialize for LoadProfile
impl StructuralPartialEq for LoadProfile
Auto Trait Implementations§
impl Freeze for LoadProfile
impl RefUnwindSafe for LoadProfile
impl Send for LoadProfile
impl Sync for LoadProfile
impl Unpin for LoadProfile
impl UnsafeUnpin for LoadProfile
impl UnwindSafe for LoadProfile
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