(&self, locale: Locale)
| 581 | |
| 582 | impl Object { |
| 583 | pub fn display_string(&self, locale: Locale) -> String { |
| 584 | match self { |
| 585 | Self::Link(link) => link.display_title().to_owned(), |
| 586 | Self::Topic(topic) => topic.display_name(locale), |
| 587 | } |
| 588 | } |
| 589 | |
| 590 | pub fn id(&self) -> &ExternalId { |
| 591 | match self { |
no test coverage detected