Struct parse_wiktionary_cs::ExternalLink
source · pub struct ExternalLink<'a> {
pub kind: Cow<'a, str>,
pub type_: ExternalLinkType,
pub value: Cow<'a, str>,
}
Expand description
External link.
Fields§
§kind: Cow<'a, str>
The kind of page the link refers to.
Parsed from the name of the parameter that has as its value the title of the page the link refers to. Different kinds are allowed for each wiki. For example links to Wikipedia allow the kinds kategorie
(category), portál
(portal), rozcestník
(disambiguation page) and článek
(article).
type_: ExternalLinkType
The wiki the link refers to.
value: Cow<'a, str>
The title of the page the link refers to.
Trait Implementations§
source§impl<'a> Debug for ExternalLink<'a>
impl<'a> Debug for ExternalLink<'a>
source§impl<'de, 'a> Deserialize<'de> for ExternalLink<'a>
impl<'de, 'a> Deserialize<'de> for ExternalLink<'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