Skip to main content

qualia_vision/capability/
entry.rs

1//! One row in the vision capability registry.
2
3use super::status::CapabilityStatus;
4
5#[derive(Debug, Clone, Copy)]
6pub struct CapabilityEntry {
7    pub id: &'static str,
8    pub domain: &'static str,
9    pub name: &'static str,
10    pub status: CapabilityStatus,
11    pub honesty: &'static str,
12}
13
14impl CapabilityEntry {
15    /// Creates a new instance.
16    pub const fn new(
17        id: &'static str,
18        domain: &'static str,
19        name: &'static str,
20        status: CapabilityStatus,
21        honesty: &'static str,
22    ) -> Self {
23        Self {
24            id,
25            domain,
26            name,
27            status,
28            honesty,
29        }
30    }
31}