use serde::{Deserialize, Serialize}; use crate::{instance::Instance, repository::Repository}; #[derive(Clone, Hash, PartialEq, Eq, Debug, Serialize, Deserialize)] pub enum DiscoveryItem { Instance { instance: Instance, signature: Vec, }, Repository { repository: Repository, signature: Vec, }, }