pub struct DemoSimulatorDefaults {Show 19 fields
pub tag_name: String,
pub template: String,
pub controller_type: ControllerType,
pub direction: ControllerDirection,
pub pv_range: FloatBounds,
pub mv_range: FloatBounds,
pub poll_interval_ms: u64,
pub run_timeout_secs: u64,
pub relay_amp: f32,
pub cycles_skip: u32,
pub cycles_count: u32,
pub noise_protection_secs: u32,
pub sim_gain: f32,
pub sim_tau: f32,
pub sim_dead_time: f32,
pub sim_noise: f32,
pub sim_seed: u64,
pub sim_initial_pv: f32,
pub sim_initial_mv: f32,
}Fields§
§tag_name: String§template: String§controller_type: ControllerType§direction: ControllerDirection§pv_range: FloatBounds§mv_range: FloatBounds§poll_interval_ms: u64§run_timeout_secs: u64§relay_amp: f32§cycles_skip: u32§cycles_count: u32§noise_protection_secs: u32§sim_gain: f32§sim_tau: f32§sim_dead_time: f32§sim_noise: f32§sim_seed: u64§sim_initial_pv: f32§sim_initial_mv: f32Trait Implementations§
Source§impl ComposeSchema for DemoSimulatorDefaults
impl ComposeSchema for DemoSimulatorDefaults
Source§impl Debug for DemoSimulatorDefaults
impl Debug for DemoSimulatorDefaults
Source§impl PartialEq for DemoSimulatorDefaults
impl PartialEq for DemoSimulatorDefaults
Source§fn eq(&self, other: &DemoSimulatorDefaults) -> bool
fn eq(&self, other: &DemoSimulatorDefaults) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DemoSimulatorDefaults
impl Serialize for DemoSimulatorDefaults
impl StructuralPartialEq for DemoSimulatorDefaults
Auto Trait Implementations§
impl Freeze for DemoSimulatorDefaults
impl RefUnwindSafe for DemoSimulatorDefaults
impl Send for DemoSimulatorDefaults
impl Sync for DemoSimulatorDefaults
impl Unpin for DemoSimulatorDefaults
impl UnsafeUnpin for DemoSimulatorDefaults
impl UnwindSafe for DemoSimulatorDefaults
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Applies the layer to a service and wraps it in [
Layered].