pub struct RecoveryStatus {
pub actions: Vec<ActionAllowance>,
pub last_print: Option<LastPrint>,
pub paused_print: Option<PausedPrint>,
pub position: Option<RecoveryPosition>,
pub state: PrinterState,
pub temperatures: RecoveryTemperatures,
pub z_home: Option<ZHome>,
pub z_trust: ZTrust,
}Expand description
What a recovery read answers: everything a recovery is checked against, and what each action would meet now.
Fields§
§actions: Vec<ActionAllowance>Each action, and whether it is allowed now.
last_print: Option<LastPrint>What the last print laid down, null when there is no print with a
file to read or its file could not be read.
paused_print: Option<PausedPrint>The print paused under the printer, null when none is.
position: Option<RecoveryPosition>Where the head is, read only while Z is trusted; null otherwise or
when it could not be read.
state: PrinterStateThe state the printer reports; offline when it could not be read.
temperatures: RecoveryTemperaturesEvery heater.
z_home: Option<ZHome>Where Z is homed and whether that sweeps the bed, null when
recovery is not configured.
z_trust: ZTrustWhether Z is trusted.
Trait Implementations§
Source§impl Clone for RecoveryStatus
impl Clone for RecoveryStatus
Source§impl Debug for RecoveryStatus
impl Debug for RecoveryStatus
Source§impl<'de> Deserialize<'de> for RecoveryStatus
impl<'de> Deserialize<'de> for RecoveryStatus
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 PartialEq for RecoveryStatus
impl PartialEq for RecoveryStatus
Source§impl Serialize for RecoveryStatus
impl Serialize for RecoveryStatus
impl StructuralPartialEq for RecoveryStatus
Auto Trait Implementations§
impl Freeze for RecoveryStatus
impl RefUnwindSafe for RecoveryStatus
impl Send for RecoveryStatus
impl Sync for RecoveryStatus
impl Unpin for RecoveryStatus
impl UnsafeUnpin for RecoveryStatus
impl UnwindSafe for RecoveryStatus
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