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§

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.