lattice_sdk/api/types/
ontology.rs

1pub use crate::prelude::*;
2
3/// Ontology of the entity.
4#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
5pub struct Ontology {
6    /// A string that describes the entity's high-level type with natural language.
7    #[serde(rename = "platformType")]
8    #[serde(skip_serializing_if = "Option::is_none")]
9    pub platform_type: Option<String>,
10    /// A string that describes the entity's exact model or type.
11    #[serde(rename = "specificType")]
12    #[serde(skip_serializing_if = "Option::is_none")]
13    pub specific_type: Option<String>,
14    /// The template used when creating this entity. Specifies minimum required components.
15    #[serde(skip_serializing_if = "Option::is_none")]
16    pub template: Option<OntologyTemplate>,
17}