Struct parse_wiktionary_cs::LanguageEntry
source · pub struct LanguageEntry<'a> {
pub audio: Vec<Audio<'a>>,
pub etymology: Vec<Flowing<'a>>,
pub homophones: Vec<Vec<Flowing<'a>>>,
pub hyphenation: Option<Cow<'a, str>>,
pub ipa: Vec<Cow<'a, str>>,
pub language: Language,
pub pos_entries: Vec<PosEntry<'a>>,
pub variants: Vec<Vec<Flowing<'a>>>,
}
Expand description
Dictionary entry for a single language.
Fields§
§audio: Vec<Audio<'a>>
List of audio samples for the entry.
etymology: Vec<Flowing<'a>>
Etymology of the entry.
homophones: Vec<Vec<Flowing<'a>>>
Homophones of the entry.
hyphenation: Option<Cow<'a, str>>
Hyphenation of the entry, if any.
ipa: Vec<Cow<'a, str>>
List of pronunciations of the entry written in IPA.
language: Language
The language of the entry.
pos_entries: Vec<PosEntry<'a>>
Entries for parts of speech for this language.
Parsed from the sections with the part of speech as their heading.
variants: Vec<Vec<Flowing<'a>>>
Variants for the entry.
Parsed from the section varianty
.
Trait Implementations§
source§impl<'a> Debug for LanguageEntry<'a>
impl<'a> Debug for LanguageEntry<'a>
source§impl<'de, 'a> Deserialize<'de> for LanguageEntry<'a>
impl<'de, 'a> Deserialize<'de> for LanguageEntry<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more