pub struct AgentHeater {
pub actual_c: Option<f64>,
pub target_c: Option<f64>,
}Expand description
One heater, in degrees Celsius: each reading absent when the printer did not report it, or reported one outside what a heater can read.
Fields§
§actual_c: Option<f64>The temperature it is at.
target_c: Option<f64>The temperature it is driving towards.
Trait Implementations§
Source§impl Clone for AgentHeater
impl Clone for AgentHeater
Source§impl Debug for AgentHeater
impl Debug for AgentHeater
Source§impl<'de> Deserialize<'de> for AgentHeater
impl<'de> Deserialize<'de> for AgentHeater
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
Source§impl JsonSchema for AgentHeater
impl JsonSchema for AgentHeater
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for AgentHeater
impl PartialEq for AgentHeater
Source§impl Serialize for AgentHeater
impl Serialize for AgentHeater
impl StructuralPartialEq for AgentHeater
Auto Trait Implementations§
impl Forget for AgentHeater
impl Freeze for AgentHeater
impl Move for AgentHeater
impl RefUnwindSafe for AgentHeater
impl Send for AgentHeater
impl Sync for AgentHeater
impl Unpin for AgentHeater
impl UnsafeUnpin for AgentHeater
impl UnwindSafe for AgentHeater
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