pub struct OctoJob {
pub state: OctoJobState,
pub job: Option<OctoJobDetails>,
pub progress: Option<OctoProgress>,
}Fields§
§state: OctoJobStateThe printer state
job: Option<OctoJobDetails>The details of the job that is being processed if a job is being processed.
progress: Option<OctoProgress>The progress of the current print if there is one.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OctoJob
impl<'de> Deserialize<'de> for OctoJob
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 OctoJob
impl RefUnwindSafe for OctoJob
impl Send for OctoJob
impl Sync for OctoJob
impl Unpin for OctoJob
impl UnsafeUnpin for OctoJob
impl UnwindSafe for OctoJob
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