pub struct OctoPrinter {
pub telemetry: OctoTelemetry,
pub temperature: OctoTemperatures,
pub state: OctoState,
}Expand description
Printer information response by get_octo_printer() which wraps /api/printer.
Fields§
§telemetry: OctoTelemetrySome telemetry for the printer.
temperature: OctoTemperaturesThe temperatures of the different probes.
state: OctoStateThe state of the printer.
Trait Implementations§
Source§impl Clone for OctoPrinter
impl Clone for OctoPrinter
Source§fn clone(&self) -> OctoPrinter
fn clone(&self) -> OctoPrinter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 OctoPrinter
impl Debug for OctoPrinter
Source§impl<'de> Deserialize<'de> for OctoPrinter
impl<'de> Deserialize<'de> for OctoPrinter
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 OctoPrinter
impl RefUnwindSafe for OctoPrinter
impl Send for OctoPrinter
impl Sync for OctoPrinter
impl Unpin for OctoPrinter
impl UnsafeUnpin for OctoPrinter
impl UnwindSafe for OctoPrinter
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