lattice-sdk 0.1.2

Rust SDK for lattice_sdk generated by Fern
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pub use crate::prelude::*;

/// Ontology of the entity.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
pub struct Ontology {
    /// A string that describes the entity's high-level type with natural language.
    #[serde(rename = "platformType")]
    #[serde(skip_serializing_if = "Option::is_none")]
    pub platform_type: Option<String>,
    /// A string that describes the entity's exact model or type.
    #[serde(rename = "specificType")]
    #[serde(skip_serializing_if = "Option::is_none")]
    pub specific_type: Option<String>,
    /// The template used when creating this entity. Specifies minimum required components.
    #[serde(skip_serializing_if = "Option::is_none")]
    pub template: Option<OntologyTemplate>,
}