pub struct V1Job {
pub id: u32,
pub state: V1JobState,
pub progress: f32,
pub time_remaining: Option<u32>,
pub time_printing: u32,
pub file: V1JobFile,
}Expand description
The response format to v1 job.
Fields§
§id: u32The id of the job.
state: V1JobStateState of the job
progress: f32Job progress.
time_remaining: Option<u32>The time remaining on the job.
time_printing: u32The time spent printing the job.
file: V1JobFileFile details.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for V1Job
impl<'de> Deserialize<'de> for V1Job
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 V1Job
impl RefUnwindSafe for V1Job
impl Send for V1Job
impl Sync for V1Job
impl Unpin for V1Job
impl UnsafeUnpin for V1Job
impl UnwindSafe for V1Job
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