pub struct JobInstanceId(/* private fields */);Expand description
An opaque identifier for one logical job instance.
Implementations§
Source§impl JobInstanceId
impl JobInstanceId
Sourcepub fn new(value: u64) -> Result<Self, DomainError>
pub fn new(value: u64) -> Result<Self, DomainError>
Trait Implementations§
Source§impl Clone for JobInstanceId
impl Clone for JobInstanceId
impl Copy for JobInstanceId
Source§impl Debug for JobInstanceId
impl Debug for JobInstanceId
Source§impl Display for JobInstanceId
impl Display for JobInstanceId
impl Eq for JobInstanceId
Source§impl From<JobInstanceId> for u64
impl From<JobInstanceId> for u64
Source§fn from(value: JobInstanceId) -> Self
fn from(value: JobInstanceId) -> Self
Converts to this type from the input type.
Source§impl Hash for JobInstanceId
impl Hash for JobInstanceId
Source§impl Ord for JobInstanceId
impl Ord for JobInstanceId
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for JobInstanceId
impl PartialEq for JobInstanceId
Source§impl PartialOrd for JobInstanceId
impl PartialOrd for JobInstanceId
impl StructuralPartialEq for JobInstanceId
Auto Trait Implementations§
impl Freeze for JobInstanceId
impl RefUnwindSafe for JobInstanceId
impl Send for JobInstanceId
impl Sync for JobInstanceId
impl Unpin for JobInstanceId
impl UnsafeUnpin for JobInstanceId
impl UnwindSafe for JobInstanceId
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