Got it working again.

This commit is contained in:
2019-03-20 20:27:57 +01:00
parent c3b6013b3d
commit 22fa3e95c3
2 changed files with 207 additions and 39 deletions

View File

@@ -1,12 +1,14 @@
pub use isolang::Language;
#[derive(Debug)]
pub struct Entry {
pub language: Option<Language>,
pub orthographic: String,
pub translation: Vec<Translation>,
pub lang: Option<Language>,
pub orth: String,
pub sense: Vec<Sense>,
}
pub struct Translation {
pub language: Option<Language>,
pub translations: Vec<String>,
#[derive(Debug)]
pub struct Sense {
pub lang: Option<Language>,
pub quotes: Vec<String>,
}