fix: make JobId (de)serializable

This makes it easier to embed in a struct that gets serialized.

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2025-06-11 16:05:54 +02:00
committed by Fintan Halpenny
parent 6fef4ae530
commit 4512b1091f
+1 -1
View File
@@ -82,7 +82,7 @@ pub static TYPENAME: Lazy<TypeName> =
///
/// Identifiers can be used to retrieve a [`Job`] or [`JobMut`] through
/// [`Jobs::get`] and [`Jobs::get_mut`], respectively.
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
pub struct JobId(ObjectId);
impl JobId {