Struct parse_wiktionary_de::Overview
source · pub struct Overview<'a> {
pub name: Cow<'a, str>,
pub named_parameters: HashMap<Cow<'a, str>, Cow<'a, str>>,
pub unnamed_parameters: Vec<Vec<Flowing<'a>>>,
}
Expand description
Information from the overview template in the POS entry.
There are many different overview templates for different languages and different patterns of inflection. These are constructed in a way that makes it difficult to parse their meaning. Therefore any parameters are accepted and included in the output.
Fields§
§name: Cow<'a, str>
The name of the overview template.
named_parameters: HashMap<Cow<'a, str>, Cow<'a, str>>
The named parameters to the template by name.
unnamed_parameters: Vec<Vec<Flowing<'a>>>
The unnamed parameters to the template in order.
Trait Implementations§
source§impl<'de, 'a> Deserialize<'de> for Overview<'a>
impl<'de, 'a> Deserialize<'de> for Overview<'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