pub struct ScenarioParams {
pub deposit_amount: Option<u128>,
pub withdraw_amount: Option<u128>,
}Expand description
Parameters that can be passed into a scenario.
Fields§
§deposit_amount: Option<u128>§withdraw_amount: Option<u128>Trait Implementations§
Source§impl Clone for ScenarioParams
impl Clone for ScenarioParams
Source§fn clone(&self) -> ScenarioParams
fn clone(&self) -> ScenarioParams
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 moreSource§impl Debug for ScenarioParams
impl Debug for ScenarioParams
Source§impl Default for ScenarioParams
impl Default for ScenarioParams
Source§fn default() -> ScenarioParams
fn default() -> ScenarioParams
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ScenarioParams
impl RefUnwindSafe for ScenarioParams
impl Send for ScenarioParams
impl Sync for ScenarioParams
impl Unpin for ScenarioParams
impl UnsafeUnpin for ScenarioParams
impl UnwindSafe for ScenarioParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more