| 541 | #[derive(Clone, Deserialize, Serialize, Eq, PartialEq)] |
| 542 | #[serde(rename_all = "camelCase")] |
| 543 | pub struct ImportTopic { |
| 544 | pub actor_id: String, |
| 545 | pub id: ExternalId, |
| 546 | pub child_links: LinkInfoList, |
| 547 | pub child_topics: TopicInfoList, |
| 548 | pub date: Timestamp, |
| 549 | pub imported_topic: TopicInfo, |
| 550 | pub parent_topics: TopicInfoList, |
| 551 | } |
| 552 | |
| 553 | impl ImportTopic { |
| 554 | fn ids(&self) -> HashSet<&ExternalId> { |