pub struct InitialReadingsResponse {
pub pv_ini: f32,
pub mv_ini: f32,
pub mv_range_low: f32,
pub mv_range_high: f32,
pub pv_range_high: f32,
pub pv_range_low: f32,
pub controller_direction: ControllerDirection,
pub mode_raw: Option<String>,
pub mode_attribute_raw: Option<String>,
pub setpoint_ini: Option<f32>,
}Expand description
Local projection of bhtune_db::models::TuneRunInitialReadings – see this module’s
doc comment for why every JSON-facing type here is its own projection rather than a
Serialize impl on the bhtune-db row type.
Fields§
§pv_ini: f32§mv_ini: f32§mv_range_low: f32§mv_range_high: f32§pv_range_high: f32§pv_range_low: f32§controller_direction: ControllerDirection§mode_raw: Option<String>§mode_attribute_raw: Option<String>§setpoint_ini: Option<f32>Trait Implementations§
Source§impl ComposeSchema for InitialReadingsResponse
impl ComposeSchema for InitialReadingsResponse
Source§impl Debug for InitialReadingsResponse
impl Debug for InitialReadingsResponse
Source§impl From<TuneRunInitialReadings> for InitialReadingsResponse
impl From<TuneRunInitialReadings> for InitialReadingsResponse
Source§fn from(r: TuneRunInitialReadings) -> Self
fn from(r: TuneRunInitialReadings) -> Self
Converts to this type from the input type.
Source§impl Serialize for InitialReadingsResponse
impl Serialize for InitialReadingsResponse
Auto Trait Implementations§
impl Freeze for InitialReadingsResponse
impl RefUnwindSafe for InitialReadingsResponse
impl Send for InitialReadingsResponse
impl Sync for InitialReadingsResponse
impl Unpin for InitialReadingsResponse
impl UnsafeUnpin for InitialReadingsResponse
impl UnwindSafe for InitialReadingsResponse
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].