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§

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.