canic-core 0.85.0

Canic — a canister orchestration and management toolkit for the Internet Computer
Documentation
//! Module: view::topology
//!
//! Responsibility: expose internal read-only topology projections.
//! Does not own: stable records, endpoint DTOs, or topology decisions.
//! Boundary: storage ops map persisted topology state into these views before workflow use.

use crate::{cdk::types::Principal, ids::CanisterRole};

///
/// IndexEntryView
///
/// Internal read-only projection of one app or subnet index entry.
///

#[derive(Clone, Debug, Eq, PartialEq)]
pub struct IndexEntryView {
    pub role: CanisterRole,
    pub pid: Principal,
}