Skip to main content

canic_backup/
registry.rs

1//! Module: registry
2//!
3//! Responsibility: define host-observed registry entries for backup planning.
4//! Does not own: registry querying, manifest projection, or stable storage.
5//! Boundary: data shape consumed by backup discovery and plan construction.
6
7///
8/// RegistryEntry
9///
10/// Host-observed canister registry row used as backup discovery input.
11/// Owned by backup registry support and consumed by discovery and planning.
12///
13
14#[derive(Clone, Debug, Eq, PartialEq)]
15pub struct RegistryEntry {
16    pub pid: String,
17    pub role: Option<String>,
18    pub kind: Option<String>,
19    pub parent_pid: Option<String>,
20    pub module_hash: Option<String>,
21}