pub struct JobId(/* private fields */);Expand description
Identifier for a durable job (RFC §10).
On-the-wire form is
job_<ULID>
where the ULID provides monotonic, sortable uniqueness.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JobId
impl<'de> Deserialize<'de> for JobId
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for JobId
impl Ord for JobId
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
Source§impl PartialOrd for JobId
impl PartialOrd for JobId
impl Eq for JobId
impl StructuralPartialEq for JobId
Auto Trait Implementations§
impl Freeze for JobId
impl RefUnwindSafe for JobId
impl Send for JobId
impl Sync for JobId
impl Unpin for JobId
impl UnsafeUnpin for JobId
impl UnwindSafe for JobId
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