pub struct PerformedJob {
pub id: u64,
pub job: String,
pub outcome: String,
}Expand description
A job run by the queue consumer, from Client::jobs.
Fields§
§id: u64Position in the capture, from 1 (shared with enqueued jobs).
job: StringThe job’s name (send_welcome), or mail for deliver_later emails.
outcome: Stringdone, discarded (an error a retry cannot fix) or retried.
Trait Implementations§
Source§impl Clone for PerformedJob
impl Clone for PerformedJob
Source§fn clone(&self) -> PerformedJob
fn clone(&self) -> PerformedJob
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 PerformedJob
impl Debug for PerformedJob
Source§impl<'de> Deserialize<'de> for PerformedJob
impl<'de> Deserialize<'de> for PerformedJob
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
impl Eq for PerformedJob
Source§impl PartialEq for PerformedJob
impl PartialEq for PerformedJob
Source§fn eq(&self, other: &PerformedJob) -> bool
fn eq(&self, other: &PerformedJob) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PerformedJob
Auto Trait Implementations§
impl Freeze for PerformedJob
impl RefUnwindSafe for PerformedJob
impl Send for PerformedJob
impl Sync for PerformedJob
impl Unpin for PerformedJob
impl UnsafeUnpin for PerformedJob
impl UnwindSafe for PerformedJob
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.