canic-core 0.26.3

Canic — a canister orchestration and management toolkit for the Internet Computer
Documentation
use crate::dto::prelude::*;

//
// ValidationReport
//

#[expect(clippy::struct_excessive_bools)]
#[derive(CandidType, Clone, Debug, Deserialize, Eq, PartialEq)]
pub struct ValidationReport {
    pub ok: bool,
    pub registry_directory_consistent: bool,
    pub unique_directory_roles: bool,
    pub env_complete: bool,
    pub issues: Vec<ValidationIssue>,
}

//
// ValidationIssue
//

#[derive(CandidType, Clone, Debug, Deserialize, Eq, PartialEq)]
pub struct ValidationIssue {
    pub code: String,
    pub message: String,
}