Mountain/IPC/StatusReporter/ServiceRegistry.rs
1
2//! Service-discovery registry - the map of known services
3//! and the schedule on which discovery refreshes it.
4
5use std::collections::HashMap;
6
7use serde::{Deserialize, Serialize};
8
9use crate::IPC::StatusReporter::ServiceInfo;
10
11#[derive(Debug, Clone, Serialize, Deserialize)]
12pub struct Struct {
13 pub services:HashMap<String, ServiceInfo::Struct>,
14
15 pub last_discovery:u64,
16
17 pub discovery_interval:u64,
18}