diff --git a/src/text.rs b/src/text.rs index 06e6d80..289500a 100644 --- a/src/text.rs +++ b/src/text.rs @@ -7,6 +7,8 @@ pub struct Lang(pub String); /// Text that is in a certain language. #[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)] pub struct Text { + /// The raw text. pub text: String, + /// The language of the text. pub lang: Lang, }