pub struct Printer {
pub name: Option<String>,
pub manufacturer: Option<String>,
pub firmware_version: Option<String>,
pub serial: Option<String>,
pub display_width_px: Option<u32>,
pub display_height_px: Option<u32>,
pub pixel_size_um: Option<u32>,
pub build_width_um: Option<u32>,
pub build_depth_um: Option<u32>,
pub build_height_um: Option<u32>,
pub bit_depth: Option<u32>,
pub extra: Map<String, Value>,
}Expand description
Printer identity, as carried by META and PROF.compatible_printers.
Fields§
§name: Option<String>Printer or model name.
manufacturer: Option<String>Manufacturer.
firmware_version: Option<String>Firmware version.
serial: Option<String>Serial number.
display_width_px: Option<u32>Display width in pixels.
display_height_px: Option<u32>Display height in pixels.
pixel_size_um: Option<u32>Pixel pitch in micrometers.
build_width_um: Option<u32>Build plate X dimension in micrometers.
build_depth_um: Option<u32>Build plate Y dimension in micrometers.
build_height_um: Option<u32>Build plate Z dimension in micrometers.
bit_depth: Option<u32>Panel bit depth.
extra: Map<String, Value>Unknown keys, preserved verbatim.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Printer
impl<'de> Deserialize<'de> for Printer
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
impl StructuralPartialEq for Printer
Auto Trait Implementations§
impl Freeze for Printer
impl RefUnwindSafe for Printer
impl Send for Printer
impl Sync for Printer
impl Unpin for Printer
impl UnsafeUnpin for Printer
impl UnwindSafe for Printer
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