pub struct JobInfo {
pub error: Option<String>,
pub current_progress: i64,
pub id: String,
pub status: JobStatus,
pub total_progress: i64,
pub type_: JobType,
}
Fields§
§error: Option<String>
§current_progress: i64
§id: String
§status: JobStatus
§total_progress: i64
§type_: JobType
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 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