pub struct Stage {
pub count: usize,
pub max: Option<usize>,
pub mutations: Vec<Mutation>,
}
Expand description
Used to define groups of mutations, and how many mutations should be performed.
Fields§
§count: usize
Current number of iterations. This can start at > 0 if you want to reproduce something from an earlier run.
max: Option<usize>
Optional max number of iterations
mutations: Vec<Mutation>
Group of mutations, all of which are performed every time.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Stage
impl<'de> Deserialize<'de> for Stage
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 Stage
impl RefUnwindSafe for Stage
impl Send for Stage
impl Sync for Stage
impl Unpin for Stage
impl UnwindSafe for Stage
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