pub struct JobInfo {
pub id: String,
pub job_type: String,
pub status: String,
pub created_at: u64,
pub started_at: Option<u64>,
pub completed_at: Option<u64>,
pub progress: u8,
pub message: Option<String>,
}Expand description
Background job information
Fields§
§id: StringJob ID
job_type: StringJob type
status: StringCurrent status
created_at: u64Creation timestamp
started_at: Option<u64>Start timestamp
completed_at: Option<u64>Completion timestamp
progress: u8Progress percentage
message: Option<String>Status message
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 UnsafeUnpin 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