pub struct V1Info {
pub nozzle_diameter: f32,
pub mmu: bool,
pub serial: String,
pub hostname: String,
pub min_extrusion_temp: u32,
}Expand description
The information returned from get_v1_info() which wraps the /api/v1/info endpoint.
Fields§
§nozzle_diameter: f32The hotend nozzle diameter in mm.
mmu: boolIndicates of the Multi-Material Unit (MMU) has been equipped to the printer.
serial: StringThe serial number of the printer
hostname: StringThe name of the host.
min_extrusion_temp: u32The minimum extrusion temperature of the printer.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for V1Info
impl<'de> Deserialize<'de> for V1Info
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 V1Info
impl RefUnwindSafe for V1Info
impl Send for V1Info
impl Sync for V1Info
impl Unpin for V1Info
impl UnsafeUnpin for V1Info
impl UnwindSafe for V1Info
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