pub struct BackgroundJobStatus {
pub id: String,
pub state: BackgroundJobState,
pub attempts: u32,
pub result: Option<Value>,
pub error: Option<String>,
}Fields§
§id: String§state: BackgroundJobState§attempts: u32§result: Option<Value>§error: Option<String>Trait Implementations§
Source§impl Clone for BackgroundJobStatus
impl Clone for BackgroundJobStatus
Source§fn clone(&self) -> BackgroundJobStatus
fn clone(&self) -> BackgroundJobStatus
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BackgroundJobStatus
impl Debug for BackgroundJobStatus
Source§impl<'de> Deserialize<'de> for BackgroundJobStatus
impl<'de> Deserialize<'de> for BackgroundJobStatus
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
Source§impl PartialEq for BackgroundJobStatus
impl PartialEq for BackgroundJobStatus
Source§fn eq(&self, other: &BackgroundJobStatus) -> bool
fn eq(&self, other: &BackgroundJobStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BackgroundJobStatus
impl Serialize for BackgroundJobStatus
impl StructuralPartialEq for BackgroundJobStatus
Auto Trait Implementations§
impl Freeze for BackgroundJobStatus
impl RefUnwindSafe for BackgroundJobStatus
impl Send for BackgroundJobStatus
impl Sync for BackgroundJobStatus
impl Unpin for BackgroundJobStatus
impl UnsafeUnpin for BackgroundJobStatus
impl UnwindSafe for BackgroundJobStatus
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