pub struct JobInfo {
pub completion_time: String,
pub content: JobContent,
pub creation_time: String,
pub effective_runtime: f64,
pub error_code: i32,
pub error_description: String,
pub error_details: String,
pub id: JobId,
pub priority: i32,
pub progress: u8,
pub state: JobState,
pub timestamp: String,
}
Expand description
Orthanc job detail response from
/jobs/{id}
Fields§
§completion_time: String
§content: JobContent
§creation_time: String
§effective_runtime: f64
§error_code: i32
§error_description: String
§error_details: String
§id: JobId
§priority: i32
§progress: u8
§state: JobState
§timestamp: String
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobInfo
impl<'de> Deserialize<'de> for JobInfo
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 JobInfo
impl RefUnwindSafe for JobInfo
impl Send for JobInfo
impl Sync for JobInfo
impl Unpin for JobInfo
impl UnwindSafe for JobInfo
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