| 736 | #[derive(Clone, Debug, Deserialize, Serialize, Eq, PartialEq)] |
| 737 | #[serde(rename_all = "camelCase")] |
| 738 | pub struct UpsertTopic { |
| 739 | pub actor_id: String, |
| 740 | pub id: ExternalId, |
| 741 | pub date: Timestamp, |
| 742 | pub parent_topic: TopicInfo, |
| 743 | pub parent_topic_ids: BTreeSet<ExternalId>, |
| 744 | pub upserted_topic: TopicInfo, |
| 745 | } |
| 746 | |
| 747 | impl UpsertTopic { |
| 748 | fn ids(&self) -> HashSet<&ExternalId> { |
no outgoing calls