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