Got it working again.
This commit is contained in:
@@ -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>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user