Function prose

Source
pub fn prose(response: &Json, asked: &Article) -> Option<Prose>
Expand description

The paragraph, credited, from a REST summary document.

None when the page holds no extract — a disambiguation page, a redirect to one, a stub that is only an infobox — which is not an error: it is the same “asked, and there is nothing” the rest of the layer records.

The URL stored is the article’s own canonical address when the response gives one, and the address that was asked otherwise. It is never left out: a Prose cannot be built without it, which is the point of the type.