pub struct JobStateRecord {
pub id: String,
pub name: String,
pub status: JobStateStatus,
pub progress: Option<u8>,
pub detail: Option<String>,
pub created_at: i64,
pub updated_at: i64,
}Fields§
§id: String§name: String§status: JobStateStatus§progress: Option<u8>§detail: Option<String>§created_at: i64§updated_at: i64Trait Implementations§
Source§impl Clone for JobStateRecord
impl Clone for JobStateRecord
Source§fn clone(&self) -> JobStateRecord
fn clone(&self) -> JobStateRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JobStateRecord
impl Debug for JobStateRecord
Source§impl<'de> Deserialize<'de> for JobStateRecord
impl<'de> Deserialize<'de> for JobStateRecord
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 JobStateRecord
impl RefUnwindSafe for JobStateRecord
impl Send for JobStateRecord
impl Sync for JobStateRecord
impl Unpin for JobStateRecord
impl UnsafeUnpin for JobStateRecord
impl UnwindSafe for JobStateRecord
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