Struct mcai_worker_sdk::job::JobProgression
source · pub struct JobProgression {
pub job_id: u64,
pub progression: u8,
/* private fields */
}
Fields§
§job_id: u64
§progression: u8
Implementations§
Trait Implementations§
source§impl Clone for JobProgression
impl Clone for JobProgression
source§fn clone(&self) -> JobProgression
fn clone(&self) -> JobProgression
Returns a copy 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 JobProgression
impl Debug for JobProgression
source§impl<'de> Deserialize<'de> for JobProgression
impl<'de> Deserialize<'de> for JobProgression
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 JobProgression
impl PartialEq for JobProgression
source§fn eq(&self, other: &JobProgression) -> bool
fn eq(&self, other: &JobProgression) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for JobProgression
impl Serialize for JobProgression
impl Eq for JobProgression
impl StructuralEq for JobProgression
impl StructuralPartialEq for JobProgression
Auto Trait Implementations§
impl RefUnwindSafe for JobProgression
impl Send for JobProgression
impl Sync for JobProgression
impl Unpin for JobProgression
impl UnwindSafe for JobProgression
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<T> CloneAny for T
impl<T> CloneAny for T
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.