use super::{ObjectId, ObjectType};
#[derive(Clone, Debug, Deserialize, Eq, Hash, PartialEq, PartialOrd, Ord, Serialize)]
pub(crate) struct Handle {
pub object_id: ObjectId,
pub object_type: ObjectType,
}
impl Handle {
pub fn new(object_id: ObjectId, object_type: ObjectType) -> Self {
Self {
object_id,
object_type,
}
}
}