libtad_models/
text.rs

1use serde::Deserialize;
2
3#[derive(Debug, Deserialize)]
4/// A text in a specific language.
5pub struct Text {
6    /// ISO 639 language code for this text.
7    ///
8    /// Example: en
9    pub lang: String,
10
11    /// The actual text.
12    pub text: String,
13}