ifc_template_catalog/definition/localization.rs
1//! Localized publication text.
2
3/// A language-tagged alias preserved from the source catalog.
4#[derive(Debug, Clone, PartialEq, Eq, bincode::Encode, bincode::Decode)]
5pub struct LocalizedText {
6 /// IETF-style language tag as declared by the publication, absent when unspecified.
7 pub language: Option<String>,
8 /// The alias text itself.
9 pub text: String,
10}