pub struct ScenarioProfile {
pub preset: ScenarioPreset,
pub name: String,
pub description: String,
pub idle_command: f64,
pub baseline_allocation: AllocationStrategy,
pub seeded_command_wobble: f64,
pub seeded_disturbance_n: f64,
pub segments: Vec<ScenarioSegment>,
}Fields§
§preset: ScenarioPreset§name: String§description: String§idle_command: f64§baseline_allocation: AllocationStrategy§seeded_command_wobble: f64§seeded_disturbance_n: f64§segments: Vec<ScenarioSegment>Trait Implementations§
Source§impl Clone for ScenarioProfile
impl Clone for ScenarioProfile
Source§fn clone(&self) -> ScenarioProfile
fn clone(&self) -> ScenarioProfile
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 ScenarioProfile
impl Debug for ScenarioProfile
Source§impl<'de> Deserialize<'de> for ScenarioProfile
impl<'de> Deserialize<'de> for ScenarioProfile
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 ScenarioProfile
impl RefUnwindSafe for ScenarioProfile
impl Send for ScenarioProfile
impl Sync for ScenarioProfile
impl Unpin for ScenarioProfile
impl UnsafeUnpin for ScenarioProfile
impl UnwindSafe for ScenarioProfile
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