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: i64id: Stringstatus: JobStatustotal_progress: i64type_: JobTypeTrait Implementations
sourceimpl<'de> Deserialize<'de> for JobInfo
impl<'de> Deserialize<'de> for JobInfo
sourcefn 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more